MatrixMarketFile.ReadComplexVector<T>(Stream, TextOptions) Method

Reads a complex vector from a stream in Matrix Market format.

Definition

Namespace: Extreme.Data.Text
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static Vector<Complex<T>> ReadComplexVector<T>(
	Stream stream,
	TextOptions options = null
)

Parameters

stream  Stream
A stream.
options  TextOptions  (Optional)
A TextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the vector.

Return Value

Vector<Complex<T>>
The vector that was read from the stream pointed to by stream.

Remarks

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.

See Also