SquareMatrix(Double) Constructor

Initializes a new square matrix from the given 2D array.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public SquareMatrix(
	double[,] entries
)

Parameters

entries  Double
The source 2D array.

Remarks

The entries are copied, so changes to entries after the matrix is initialized do not affect matrix entries.

Exceptions

ArgumentNullExceptionentries is .
DimensionMismatchExceptionThe two dimensions of entries are not equal.

See Also