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: 24.3.420.0 (24.3.420.0)
Syntax
public DenseMatrix(
	double[] elements,
	int rowDimension
)

Parameters

elements
Type: SystemDouble
A one-dimensional array of doubles containing the values of all of the elements.
rowDimension
Type: SystemInt32
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 .
See Also