Returns a string containing a complex matrix in JSON format.
Namespace:
Extreme.Data.Json
Assembly:
Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.0
public static string ToJson<T>(
this Matrix<Complex<T>> matrix,
JsonOptions options = null
)
<ExtensionAttribute>
Public Shared Function ToJson(Of T) (
matrix As Matrix(Of Complex(Of T)),
Optional options As JsonOptions = Nothing
) As String
public:
[ExtensionAttribute]
generic<typename T>
static String^ ToJson(
Matrix<Complex<T>>^ matrix,
JsonOptions^ options = nullptr
)
[<ExtensionAttribute>]
static member ToJson :
matrix : Matrix<Complex<'T>> *
?options : JsonOptions
(* Defaults:
let _options = defaultArg options null
*)
-> string
Parameters
- matrix
- Type: Extreme.MathematicsMatrixComplexT
The matrix to write to the stream. - 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.
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MatrixComplexT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference