Click or drag to resize

BandMatrixOfArray Method

Create a new band matrix as a copy of the given two-dimensional array. This new matrix will be independent from the provided array. The array to copy from must not contain non-zero entries outside the requested band.

Namespace: Altaxo.Calc.LinearAlgebra.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public static BandMatrix OfArray(
	double[,] array,
	int lowerBandwidth,
	int upperBandwidth
)

Parameters

array  Double
The array 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

BandMatrix
The created band matrix.
See Also