Click or drag to resize

ILinearEquationSolverTSolveVectorT(IROMatrixDouble, IReadOnlyListDouble, FuncInt32, VectorT) Method

Solves the equation A*x == b. The matrix A and right hand vector b will be kept. If this is not neccessary, then use SolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT), because it might be slightly faster.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
VectorT Solve<VectorT>(
	IROMatrix<double> A,
	IReadOnlyList<double> b,
	Func<int, VectorT> vectorCreation
)
where VectorT : Object, IVector<double>

Parameters

A  IROMatrixDouble
The matrix.
b  IReadOnlyListDouble
The right hand vector.
vectorCreation  FuncInt32, VectorT
Function to create a new vector. Argument is the length of the vector.

Type Parameters

VectorT

Return Value

VectorT
The solution x of the equation A*x==b.
See Also