Reads a complex matrix from a stream in JSON format.
Namespace: Extreme.Data.JsonAssembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 1.0.16157.0 (1.0.16157.0)
public static Matrix<Complex<T>> ReadComplexMatrix<T>(
Stream stream,
JsonOptions options = null
)
Public Shared Function ReadComplexMatrix(Of T) (
stream As Stream,
Optional options As JsonOptions = Nothing
) As Matrix(Of Complex(Of T))
public:
generic<typename T>
static Matrix<Complex<T>>^ ReadComplexMatrix(
Stream^ stream,
JsonOptions^ options = nullptr
)
static member ReadComplexMatrix :
stream : Stream *
?options : JsonOptions
(* Defaults:
let _options = defaultArg options null
*)
-> Matrix<Complex<'T>>
Parameters
- stream
- Type: System.IOStream
A 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:
MatrixComplexTThe matrix that was read from the stream
pointed to by
stream.
The element type of the stored matrix does not have
to match the element type of the returned matrix.
However, casting values from this type to
type T must succeed.
Numerical Libraries
Supported in: 6.0
Reference