Composite Data Stream<TObject>.Read Vector Method
Definition
Namespace: Numerics.NET.Data
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
Overload List
Read | Reads the one-dimensional array at the current position in the file. |
Read | Reads the one-dimensional array with the specified name in the file. |
ReadVector<T>(Boolean)
Reads the one-dimensional array at the current position in the file.
public override Vector<T> ReadVector<T>(
bool strict = true
)
Parameters
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
- The element type of the vector.
Return Value
Vector<T>A vector containing the data.
ReadVector<T>(String, Boolean)
Reads the one-dimensional array with the specified name in the file.
public Vector<T> ReadVector<T>(
string name,
bool strict = false
)
Parameters
- name String
- The name of the matrix to read.
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true, the default), or whether conversions are allowed (false).
Type Parameters
- T
- The element type of the vector.
Return Value
Vector<T>A vector containing the data.