Click or drag to resize

CreateMatrixDense Method

Overload List
 NameDescription
Public methodStatic memberDenseT(DenseColumnMajorMatrixStorageT) 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 methodStatic memberDenseT(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 methodStatic memberDenseT(Int32, Int32, T) Create a new dense matrix and initialize each value to the same provided value.
Public methodStatic memberDenseT(Int32, Int32, T) 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.
Public methodStatic memberDenseT(Int32, Int32, FuncInt32, Int32, T) Create a new dense matrix and initialize each value using the provided init function.
Top
See Also