Click or drag to resize

BandMatrix Constructor

Overload List
 NameDescription
Public methodBandMatrix(BandMatrixStorageDouble) Create a new band 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 methodBandMatrix(Int32, Int32, Int32) Create a new square band matrix with the given order and bandwidths. All stored cells of the matrix will be initialized to zero.
Public methodBandMatrix(Int32, Int32, Int32, Int32) Create a new band matrix with the given number of rows, columns, and bandwidths. All stored cells of the matrix will be initialized to zero.
Public methodBandMatrix(Int32, Int32, Int32, Int32, Double) Create a new band matrix with the given dimensions and bandwidths directly binding to a raw compact band array. The array is assumed to be in the compact band layout and is used directly without copying. Very efficient, but changes to the array and the matrix will affect each other.
Top
See Also