| Name | Description |
---|
| DiagonalMatrix(DiagonalMatrixStorageDouble) |
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.
|
| DiagonalMatrix(Int32) |
Create a new square diagonal matrix with the given number of rows and columns.
All cells of the matrix will be initialized to zero.
|
| DiagonalMatrix(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.
|
| DiagonalMatrix(Int32, Int32, Double) |
Create a new diagonal matrix with the given number of rows and columns.
All diagonal cells of the matrix will be initialized to the provided value, all non-diagonal ones to zero.
|
| DiagonalMatrix(Int32, Int32, Double) |
Create a new diagonal matrix with the given number of rows and columns directly binding to a raw array.
The array is assumed to contain the diagonal elements only and is used directly without copying.
Very efficient, but changes to the array and the matrix will affect each other.
|