Matrix<T> Constructor

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Matrix<T>(SerializationInfo, StreamingContext) Constructs a new matrix from serialization values.
Matrix<T>(Int32, Int32, ArrayAttributes) Constructs a new matrix of the specified dimensions using the specified values array.

Matrix<T>(SerializationInfo, StreamingContext)

Constructs a new matrix from serialization values.
C#
protected Matrix(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The values needed to serialize or deserialize the Matrix<T>.
context  StreamingContext
The source and destination of a given serialized stream.

Remarks

This constructor is called internally by the .NET framework when a Matrix<T> is deserialized.

Matrix<T>(Int32, Int32, ArrayAttributes)

Constructs a new matrix of the specified dimensions using the specified values array.
C#
protected Matrix(
	int rowCount,
	int columnCount,
	ArrayAttributes attributes
)

Parameters

rowCount  Int32
The number of rows.
columnCount  Int32
The number of columns.
attributes  ArrayAttributes
The attributes of the new matrix.

Exceptions

ArgumentOutOfRangeException

rowCount is less than zero.

-or-

columnCount is less than zero.

See Also