WriteMatrix() публичный Метод

Writes a Matrix object to the underlying stream.
public WriteMatrix ( Matrix matrix ) : void
matrix Matrix
Результат void
Пример #1
0
 /// <summary>
 /// Save matrix to file
 /// </summary>
 /// <param name="file">file to save</param>
 public void Save(string file)
 {
     using (var fs = new FileStream(file, FileMode.CreateNew))
     using (var f = new StreamWriter(fs))
     using (var w = new JsonWriter(f))
         w.WriteMatrix(this);
 }