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.2.423.0 (25.2.423.0)
Syntaxpublic DenseMatrix(
double[] elements,
int rowDimension
)
Public Sub New (
elements As Double(),
rowDimension As Integer
)
public:
DenseMatrix(
array<double>^ elements,
int rowDimension
)
new :
elements : float[] *
rowDimension : int -> DenseMatrixParameters
- 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| Exception | Condition |
|---|
| 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