GaussianEliminationSolverSolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT) Method |
Solves system of linear equations Ax = b using Gaussian elimination with partial pivoting.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
VectorTThe computed solution vector.
Implements
ILinearEquationSolverTSolveDestructiveVectorT(IMatrixDouble, IVectorDouble, FuncInt32, VectorT)
See Also