Click or drag to resize

GaussianEliminationSolverSolveVectorT(IROMatrixDouble, IReadOnlyListDouble, 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 Solve<VectorT>(
	IROMatrix<double> A,
	IReadOnlyList<double> b,
	Func<int, VectorT> vectorCreation
)
where VectorT : Object, IVector<double>

Parameters

A  IROMatrixDouble
Elements of matrix 'A'.
b  IReadOnlyListDouble
Right part 'b'
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

ILinearEquationSolverTSolveVectorT(IROMatrixDouble, IReadOnlyListDouble, FuncInt32, VectorT)
See Also