Click or drag to resize

DenseMatrix Constructor (Double[], Int32)

Initializes a new instance from a one-dimensional packed array.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public DenseMatrix(
	double[] elements,
	int rowDimension
)

Parameters

elements
Type:System.Double[]
A one-dimensional array of doubles containing the values of all of the elements.
rowDimension
Type: System.Int32
The number of rows in the matrix.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when rowDimension is less than zero.
ArgumentException Thrown when the length of elements is not a multiple of the column dimension.
ArgumentNullException Thrown when elements is null.
See Also