DelimitedTextFile.Write Method

Definition

Namespace: Extreme.Data.Text
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0

Overload List

Write<T>(Stream, Matrix<T>, DelimitedTextOptions) Writes a matrix to a stream in delimited text format.
Write<T>(Stream, Matrix<Complex<T>>, DelimitedTextOptions) Writes a complex matrix to a stream in delimited text format.
Write<T>(Stream, Vector<T>, DelimitedTextOptions) Writes a vector to a stream in delimited text format.
Write<T>(Stream, Vector<Complex<T>>, DelimitedTextOptions) Writes a complex vector to a stream in delimited text format.
Write<T>(String, Matrix<T>, DelimitedTextOptions) Writes a matrix to a file in delimited text format.
Write<T>(String, Matrix<Complex<T>>, DelimitedTextOptions) Writes a complex matrix to a file in delimited text format.
Write<T>(String, Vector<T>, DelimitedTextOptions) Writes a vector to a file in delimited text format.
Write<T>(String, Vector<Complex<T>>, DelimitedTextOptions) Writes a complex vector to a file in delimited text format.
Write<R, C>(Stream, DataFrame<R, C>, DelimitedTextOptions) Writes a data frame to a stream in delimited text format.
Write<R, C>(String, DataFrame<R, C>, DelimitedTextOptions) Writes a data frame to a file in delimited text format.

DelimitedTextFile.Write<T>(Stream, Matrix<T>, DelimitedTextOptions)

Writes a matrix to a stream in delimited text format.
C#
public static void Write<T>(
	Stream stream,
	Matrix<T> matrix,
	DelimitedTextOptions options = null
)

Parameters

stream  Stream
A stream.
matrix  Matrix<T>
The matrix to write to the stream.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the matrix.

DelimitedTextFile.Write<T>(Stream, Matrix<Complex<T>>, DelimitedTextOptions)

Writes a complex matrix to a stream in delimited text format.
C#
public static void Write<T>(
	Stream stream,
	Matrix<Complex<T>> matrix,
	DelimitedTextOptions options = null
)

Parameters

stream  Stream
A stream.
matrix  Matrix<Complex<T>>
The matrix to write to the stream.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the matrix.

DelimitedTextFile.Write<T>(Stream, Vector<T>, DelimitedTextOptions)

Writes a vector to a stream in delimited text format.
C#
public static void Write<T>(
	Stream stream,
	Vector<T> vector,
	DelimitedTextOptions options = null
)

Parameters

stream  Stream
A stream.
vector  Vector<T>
The vector to write to the stream.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the vector.

DelimitedTextFile.Write<T>(Stream, Vector<Complex<T>>, DelimitedTextOptions)

Writes a complex vector to a stream in delimited text format.
C#
public static void Write<T>(
	Stream stream,
	Vector<Complex<T>> vector,
	DelimitedTextOptions options = null
)

Parameters

stream  Stream
A stream.
vector  Vector<Complex<T>>
The vector to write to the stream.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the vector.

DelimitedTextFile.Write<R, C>(Stream, DataFrame<R, C>, DelimitedTextOptions)

Writes a data frame to a stream in delimited text format.
C#
public static void Write<R, C>(
	Stream stream,
	DataFrame<R, C> dataFrame,
	DelimitedTextOptions options = null
)

Parameters

stream  Stream
A stream.
dataFrame  DataFrame<R, C>
The data frame to write to the stream.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

DelimitedTextFile.Write<T>(String, Matrix<T>, DelimitedTextOptions)

Writes a matrix to a file in delimited text format.
C#
public static void Write<T>(
	string path,
	Matrix<T> matrix,
	DelimitedTextOptions options = null
)

Parameters

path  String
The path to the file.
matrix  Matrix<T>
The matrix to write to the file.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the matrix.

Exceptions

FileNotFoundException The specified file does not exist.

DelimitedTextFile.Write<T>(String, Matrix<Complex<T>>, DelimitedTextOptions)

Writes a complex matrix to a file in delimited text format.
C#
public static void Write<T>(
	string path,
	Matrix<Complex<T>> matrix,
	DelimitedTextOptions options = null
)

Parameters

path  String
The path to the file.
matrix  Matrix<Complex<T>>
The matrix to write to the file.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the matrix.

Exceptions

FileNotFoundException The specified file does not exist.

DelimitedTextFile.Write<T>(String, Vector<T>, DelimitedTextOptions)

Writes a vector to a file in delimited text format.
C#
public static void Write<T>(
	string path,
	Vector<T> vector,
	DelimitedTextOptions options = null
)

Parameters

path  String
The path to the file.
vector  Vector<T>
The vector to write to the file.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the vector.

Exceptions

FileNotFoundException The specified file does not exist.

DelimitedTextFile.Write<T>(String, Vector<Complex<T>>, DelimitedTextOptions)

Writes a complex vector to a file in delimited text format.
C#
public static void Write<T>(
	string path,
	Vector<Complex<T>> vector,
	DelimitedTextOptions options = null
)

Parameters

path  String
The path to the file.
vector  Vector<Complex<T>>
The vector to write to the file.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the vector.

Exceptions

FileNotFoundException The specified file does not exist.

DelimitedTextFile.Write<R, C>(String, DataFrame<R, C>, DelimitedTextOptions)

Writes a data frame to a file in delimited text format.
C#
public static void Write<R, C>(
	string path,
	DataFrame<R, C> dataFrame,
	DelimitedTextOptions options = null
)

Parameters

path  String
The path to the file.
dataFrame  DataFrame<R, C>
The data frame to write to the file.
options  DelimitedTextOptions  (Optional)
A DelimitedTextOptions object that specifies the options to use when reading the file.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Exceptions

FileNotFoundException The specified file does not exist.

See Also