BandMatrixOfMatrix Method |
Create a new band matrix as a copy of the given other matrix.
This new matrix will be independent from the other matrix.
A new memory block will be allocated for storing the matrix.
Namespace: Altaxo.Calc.LinearAlgebra.DoubleAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic static BandMatrix OfMatrix(
Matrix<double> matrix,
int lowerBandwidth,
int upperBandwidth
)
Parameters
- matrix MatrixDouble
- The matrix to copy.
- lowerBandwidth Int32
- The number of sub-diagonals stored below the main diagonal.
- upperBandwidth Int32
- The number of super-diagonals stored above the main diagonal.
Return Value
BandMatrixThe created band matrix.
See Also