Click or drag to resize

GaussianEliminationSolverSolveDestructiveBanded Method

Solves a system of linear equations Ax = b with a band matrix A, using Gaussian elimination with partial pivoting. Attention! Both matrix A and vector b are destroyed (changed).

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void SolveDestructiveBanded(
	MatrixWrapperStructForLeftSpineJaggedArray<double> A,
	int lowerBandwidth,
	int upperBandwidth,
	double[] b,
	double[] x
)

Parameters

A  MatrixWrapperStructForLeftSpineJaggedArrayDouble
Elements of matrix 'A'. The matrix is modified!
lowerBandwidth  Int32
Lower band width of the matrix. It is not checked whether the matrix contains non-zero elements outside of the band!
upperBandwidth  Int32
Upper band width of the matrix. It is not checked whether the matrix contains non-zero elements outside of the band!
b  Double
Right part 'b'. This array is also modified!
x  Double
Vector to store the result, i.e. the solution to the problem a x = b.
See Also