Click or drag to resize

GaussianEliminationSolverSolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT) Method

Solves system of linear equations Ax = b using Gaussian elimination with partial pivoting.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public VectorT SolveDestructive<VectorT>(
	IMatrix<double> A,
	IVector<double> b,
	Func<int, VectorT> vectorCreation
)
where VectorT : Object, IVector<double>

Parameters

A  IMatrixDouble
Elements of matrix 'A'. This matrix is modified during solution!
b  IVectorDouble
Right part 'b'. This vector is also modified during solution!
vectorCreation  FuncInt32, VectorT
Function to create the resulting vector. Argument is the length of the vector.

Type Parameters

VectorT
The vector type used for the returned solution.

Return Value

VectorT
The computed solution vector.

Implements

ILinearEquationSolverTSolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT)
See Also