CompositeDataStream<TObject>.ReadMatrix Method

Definition

Namespace: Numerics.NET.Data
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3

Overload List

ReadMatrix<T>(Boolean) Reads the two-dimensional array at the current position in the file.
ReadMatrix<T>(String, Boolean) Reads the two-dimensional array with the specified name in the file.

ReadMatrix<T>(Boolean)

Reads the two-dimensional array at the current position in the file.
C#
public override Matrix<T> ReadMatrix<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 matrix.

Return Value

Matrix<T>
A matrix containing the data.

ReadMatrix<T>(String, Boolean)

Reads the two-dimensional array with the specified name in the file.
C#
public Matrix<T> ReadMatrix<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), or whether conversions are allowed (false).

Type Parameters

T
The element type of the matrix.

Return Value

Matrix<T>
A matrix containing the data.

See Also