Click or drag to resize

ILinearEquationSolverT Interface

Interface to a solver for linear equations. The procedure can either be non-destructive (keeping the matrix and the vector b), or destructive (not keeping matrix m and vector b). The destructive solving process may be faster, since saving of the matrix and the vector is not required.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface ILinearEquationSolver<T>
where T : struct, new()

Type Parameters

T
Type of scalar arithmetic value.

The ILinearEquationSolverT type exposes the following members.

Methods
 NameDescription
Public methodSolve(IROMatrixT, IReadOnlyListT, IVectorT) Solves the equation A*x == b. The matrix m and vector b will be kept. If this is not neccessary, then use SolveDestructive(IMatrixT, IVectorT, IVectorT), because it might be slightly faster.
Public methodSolveVectorT(IROMatrixDouble, IReadOnlyListDouble, FuncInt32, VectorT) 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.
Public methodSolveDestructive(IMatrixT, IVectorT, IVectorT) 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 Solve(IROMatrixT, IReadOnlyListT, IVectorT).
Public methodSolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT) 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).
Top
See Also