FixedWidthTextFile.ReadComplexVector<T>(String, Int32[]) Method

Reads a complex vector from a file in fixed-width text 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>(
	string path,
	int[] columnBreaks
)

Parameters

path  String
The path to the file.
columnBreaks  Int32[]
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

Vector<Complex<T>>
The data frame that was read from the file pointed to by path.

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.

Exceptions

FileNotFoundException The specified file does not exist.

See Also