Click or drag to resize

DenseMatrix Constructor

Overload List
 NameDescription
Public methodDenseMatrix(DenseColumnMajorMatrixStorageSingle) Create a new dense matrix straight from an initialized matrix storage instance. The storage is used directly without copying. Intended for advanced scenarios where you're working directly with storage for performance or interop reasons.
Public methodDenseMatrix(Int32) Create a new square dense matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero.
Public methodDenseMatrix(Int32, Int32) Create a new dense matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero.
Public methodDenseMatrix(Int32, Int32, Single) Create a new dense matrix with the given number of rows and columns directly binding to a raw array. The array is assumed to be in column-major order (column by column) and is used directly without copying. Very efficient, but changes to the array and the matrix will affect each other.
Top
See Also