Click or drag to resize

ILinearEquationSolverTSolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT) Method

Solves the equation A*x == b. The matrix A and the right hand vector b might be changed in the process. If this is unwanted, then better use SolveVectorT(IROMatrixDouble, IReadOnlyListDouble, FuncInt32, VectorT).

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

Parameters

A  IMatrixDouble
The matrix. It will be modified during this call!
b  IVectorDouble
The right hand vector. Will be modified during this call!
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