CompositeDataStream<TObject>.ReadMatrices<T> Method

Reads matrices with the specified names from the data stream.

Definition

Namespace: Numerics.NET.Data
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
C#
public Dictionary<string, Matrix<T>> ReadMatrices<T>(
	IEnumerable<string> names,
	bool strict = false
)

Parameters

names  IEnumerable<String>
A sequence of names of the matrices 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 matrices.

Return Value

Dictionary<String, Matrix<T>>
A dictionary containing the matrices read from the data stream using their name as the key.

See Also