Composite Data Stream<TObject>.Write Method
Definition
Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Overload List
Write( | Writes all objects to the data stream. |
Write<T>(Dictionary<String, Matrix<T>>) | Writes matrices with the specified names to the data stream. |
Write<T>(Dictionary<String, Vector<T>>) | Writes all vectors with the specified element type to the data stream. |
Write<T>(Matrix<T>) | Writes the two-dimensional array at the current position in the file. |
Write<T>(Matrix<T>) | Writes the two-dimensional array at the current position in the file. |
Write<T>(Matrix<T>) | Writes the two-dimensional array at the current position in the file. |
Write<T>(Vector<T>) | Writes the one-dimensional array at the current position in the file. |
Write<T>(Vector<T>) | Writes the one-dimensional array at the current position in the file. |
Write<T>(Vector<T>) | Writes the one-dimensional array at the current position in the file. |
Write<T>(IEnumerable<Matrix<T>>, IEnumerable<String>) | Writes matrices with the specified names to the data stream. |
Write<T>(IEnumerable<Vector<T>>, IEnumerable<String>) | Writes vectors with the specified names to the data stream. |
Write<T>(Matrix<T>, String) | Writes the two-dimensional array with the specified name to the data stream. |
Write<T>(Vector<T>, String) | Writes the one-dimensional array with the specified name to the data stream. |
Write<R, C>(DataFrame<R, C>) | Writes the data frame at the current position in the file. |
Write<R, C>(DataFrame<R, C>) | Writes the data frame at the current position in the file. |
Write<R, C>(DataFrame<R, C>) | Writes the data frame at the current position in the file. |
Write<R, C>(Dictionary<String, DataFrame<R, C>>) | Writes the specified data frames to the data stream. |
Write<R, C>(DataFrame<R, C>, String) | Writes the data frame with the specified name to the data stream. |
Write<R, C>(IEnumerable<DataFrame<R, C>>, IEnumerable<String>) | Writes the specified data frames to the data stream. |
Write<R, C>(DataFrame<R, C>)
Writes the data frame at the current position in the file.
public override void Write<R, C>(
DataFrame<R, C> value
)
Parameters
- value DataFrame<R, C>
Type Parameters
- R
- The type of the row keys of the data frame.
- C
- The type of the column keys of the data frame.
Write<T>(Dictionary<String, Matrix<T>>)
Writes matrices with the specified names to the data stream.
public void Write<T>(
Dictionary<string, Matrix<T>> values
)
Parameters
- values Dictionary<String, Matrix<T>>
- A dictionary that maps names to matrices.
Type Parameters
- T
- The element type of the matrices.
Return Value
A dictionary containing the matrices read from the data stream using their name as the key.Write<T>(Dictionary<String, Vector<T>>)
Writes all vectors with the specified element type to the data stream.
public void Write<T>(
Dictionary<string, Vector<T>> values
)
Parameters
- values Dictionary<String, Vector<T>>
Type Parameters
- T
- The element type of the vectors.
Return Value
A dictionary containing the vectors read from the data stream using their name as the key.Write<R, C>(Dictionary<String, DataFrame<R, C>>)
Writes the specified data frames to the data stream.
public void Write<R, C>(
Dictionary<string, DataFrame<R, C>> values
)
Parameters
- values Dictionary<String, DataFrame<R, C>>
- A dictionary containing the data frames that are to be written to the data stream.
Type Parameters
- R
- The type of the row keys of the data frame.
- C
- The type of the column keys of the data frame.
Write(IDictionary<String, TObject>)
Writes all objects to the data stream.
public virtual void Write(
IDictionary<string, TObject> values
)
Parameters
- values IDictionary<String, TObject>
Return Value
A dictionary that maps names to objects.Write<T>(Matrix<T>)
Writes the two-dimensional array at the current position in the file.
public override void Write<T>(
Matrix<T> value
)
Parameters
- value Matrix<T>
Type Parameters
- T
- The element type of the matrix.
Write<T>(Vector<T>)
Writes the one-dimensional array at the current position in the file.
public override void Write<T>(
Vector<T> value
)
Parameters
- value Vector<T>
Type Parameters
- T
- The element type of the vector.
Write<R, C>(DataFrame<R, C>, String)
Writes the data frame with the specified name to the data stream.
public void Write<R, C>(
DataFrame<R, C> value,
string name
)
Parameters
- value DataFrame<R, C>
- The data frame to write to the stream.
- name String
- The name of the matrix to read.
Type Parameters
- R
- The type of the row keys of the data frame.
- C
- The type of the column keys of the data frame.
Return Value
A data frame containing the data.Write<T>(IEnumerable<Matrix<T>>, IEnumerable<String>)
Writes matrices with the specified names to the data stream.
public void Write<T>(
IEnumerable<Matrix<T>> values,
IEnumerable<string> names
)
Parameters
- values IEnumerable<Matrix<T>>
- A sequence of matrices to write.
- names IEnumerable<String>
- A sequence of names of the matrices to write.
Type Parameters
- T
- The element type of the matrices.
Return Value
A dictionary containing the matrices read from the data stream using their name as the key.Write<T>(IEnumerable<Vector<T>>, IEnumerable<String>)
Writes vectors with the specified names to the data stream.
public void Write<T>(
IEnumerable<Vector<T>> values,
IEnumerable<string> names
)
Parameters
- values IEnumerable<Vector<T>>
- A sequence of vectors to write.
- names IEnumerable<String>
- A sequence of names of the vectors.
Type Parameters
- T
- The element type of the vectors.
Return Value
A dictionary containing the vectors read from the data stream using their name as the key.Write<R, C>(IEnumerable<DataFrame<R, C>>, IEnumerable<String>)
Writes the specified data frames to the data stream.
public void Write<R, C>(
IEnumerable<DataFrame<R, C>> values,
IEnumerable<string> names
)
Parameters
- values IEnumerable<DataFrame<R, C>>
- A sequence of data frames.
- names IEnumerable<String>
- A sequence of names corresponding to the data frames in values.
Type Parameters
- R
- The type of the row keys of the data frame.
- C
- The type of the column keys of the data frame.
Write<T>(Matrix<T>, String)
Writes the two-dimensional array with the specified name to the data stream.
public void Write<T>(
Matrix<T> matrix,
string name
)
Parameters
- matrix Matrix<T>
- The matrix to write to the data stream.
- name String
- The name of the matrix in the data stream.
Type Parameters
- T
- The element type of the matrix.
Return Value
A matrix containing the data.Write<T>(Vector<T>, String)
Writes the one-dimensional array with the specified name to the data stream.
public void Write<T>(
Vector<T> vector,
string name
)
Parameters
Type Parameters
- T
- The element type of the vector.