Reads a vector from a stream in fixed-width text format.
Namespace: Extreme.Data.TextAssembly: Extreme.Data (in Extreme.Data.dll) Version: 1.0.16170.0 (1.0.16328.0)
public static Vector<T> ReadVector<T>(
Stream stream,
int[] columnBreaks
)
Public Shared Function ReadVector(Of T) (
stream As Stream,
columnBreaks As Integer()
) As Vector(Of T)
public:
generic<typename T>
static Vector<T>^ ReadVector(
Stream^ stream,
array<int>^ columnBreaks
)
static member ReadVector :
stream : Stream *
columnBreaks : int[] -> Vector<'T>
Parameters
- stream
- Type: System.IOStream
A stream. - columnBreaks
- Type: SystemInt32
An integer array containing the zero-based indexes of the column breaks on each row.
Type Parameters
- T
- The element type of the vector.
Return Value
Type:
VectorTThe 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.
Numerical Libraries
Supported in: 6.0
Reference