Click or drag to resize

MatrixBuilderTDense Method

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