| Name | Description |
---|
| Diagonal(DiagonalMatrixStorageT) |
Create a new diagonal 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.
|
| Diagonal(T) |
Create a new square diagonal matrix directly binding to a raw array.
The array is assumed to represent the diagonal values and is used directly without copying.
Very efficient, but changes to the array and the matrix will affect each other.
|
| Diagonal(Int32, Int32) |
Create a new diagonal matrix with the given number of rows and columns.
All cells of the matrix will be initialized to zero.
|
| Diagonal(Int32, Int32, T) |
Create a new diagonal matrix and initialize each diagonal value to the same provided value.
|
| Diagonal(Int32, Int32, T) |
Create a new diagonal matrix with the given number of rows and columns directly binding to a raw array.
The array is assumed to represent the diagonal values and is used directly without copying.
Very efficient, but changes to the array and the matrix will affect each other.
|
| Diagonal(Int32, Int32, FuncInt32, T) |
Create a new diagonal matrix and initialize each diagonal value using the provided init function.
|