RdataFile.ReadAllMatrices Method

Definition

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

Overload List

ReadAllMatrices<T>(Stream) Reads all matrices from a stream.
ReadAllMatrices<T>(String, Boolean) Reads all matrices from a file.

ReadAllMatrices<T>(Stream)

Reads all matrices from a stream.
C#
public static Dictionary<string, Matrix<T>> ReadAllMatrices<T>(
	Stream stream
)

Parameters

stream  Stream
The stream to read from.

Type Parameters

T

Return Value

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

ReadAllMatrices<T>(String, Boolean)

Reads all matrices from a file.
C#
public static Dictionary<string, Matrix<T>> ReadAllMatrices<T>(
	string path,
	bool strict = true
)

Parameters

path  String
The file to read from.
strict  Boolean  (Optional)
Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).

Type Parameters

T

Return Value

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

See Also