Reads a complex vector from a stream in JSON format.
Namespace:
Extreme.Data.Json
Assembly:
Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.0
public static Vector<Complex<T>> ReadComplexVector<T>(
Stream stream,
JsonOptions options = null
)
Public Shared Function ReadComplexVector(Of T) (
stream As Stream,
Optional options As JsonOptions = Nothing
) As Vector(Of Complex(Of T))
public:
generic<typename T>
static Vector<Complex<T>>^ ReadComplexVector(
Stream^ stream,
JsonOptions^ options = nullptr
)
static member ReadComplexVector :
stream : Stream *
?options : JsonOptions
(* Defaults:
let _options = defaultArg options null
*)
-> Vector<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 vector.
Return Value
Type:
VectorComplexTThe vector that was read from the stream
pointed to by
stream.
The element type of the stored vector does not have
to match the element type of the returned vector.
However, casting values from this type to
type T must succeed.
Reference