MatrixTAsRowMajorArray Method |
Returns the internal row by row (row major) array of this matrix if, and only if, this matrix is stored by such arrays internally.
Otherwise returns null. Changes to the returned arrays and the matrix will affect each other.
Use ToRowMajorArray instead if you always need an independent array.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public T[] AsRowMajorArray()
Return Value
TAn array containing the matrix's elements.
Example
1, 2, 3
4, 5, 6 will be returned as 1, 2, 3, 4, 5, 6, 7, 8, 9
7, 8, 9
See Also