Writes a matrix to a file in JSON format.
Namespace:
Extreme.Data.Json
Assembly:
Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.0
public static void Write<T>(
string path,
Matrix<T> matrix,
JsonOptions options = null
)
Public Shared Sub Write(Of T) (
path As String,
matrix As Matrix(Of T),
Optional options As JsonOptions = Nothing
)
public:
generic<typename T>
static void Write(
String^ path,
Matrix<T>^ matrix,
JsonOptions^ options = nullptr
)
static member Write :
path : string *
matrix : Matrix<'T> *
?options : JsonOptions
(* Defaults:
let _options = defaultArg options null
*)
-> unit
Parameters
- path
- Type: SystemString
The path to the file. - matrix
- Type: Extreme.MathematicsMatrixT
The matrix to write to the file. - options (Optional)
- Type: Extreme.Data.JsonJsonOptions
A JsonOptions object
that specifies the options to use when reading the file.
Type Parameters
- T
- The element type of the matrix.
Reference