opale.matrix.solver
Class SolverCrout
java.lang.Object
|
+--opale.matrix.solver.SolverCrout
- All Implemented Interfaces:
- SymDecomposition, SymSolver
- public class SolverCrout
- extends java.lang.Object
- implements SymSolver, SymDecomposition
This class implements Crout decomposition according to the book "Analyse matricielle appliquée à l'art de l'ingénieur", Lascaux & Théodor, Ed. Masson. (without pivot ->> instable !!)
- Since:
- Opale-matrix 0.11
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolverCrout
public SolverCrout()
decomp
public void decomp(SymMatrix A)
- Description copied from interface:
SymDecomposition
- Decompose the matrix A.
- Specified by:
decomp
in interface SymDecomposition
solve
public void solve(SymMatrix A,
DVect b,
DVect x)
- Solve LDL^t x=b.
- Specified by:
solve
in interface SymSolver
- Parameters:
Matrix
- A, not used.
determinant
public double determinant()
- Compute the determinant : product of D[i][i]
- Returns:
- double, the determinant
main
public static void main(java.lang.String[] arg)