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

Fields inherited from interface opale.matrix.SymSolver
PRECISION
 
Fields inherited from interface opale.matrix.SymDecomposition
REPLACE
 
Constructor Summary
SolverCrout()
           
 
Method Summary
 void decomp(SymMatrix A)
          Decompose the matrix A.
 double determinant()
          Compute the determinant : product of D[i][i]
static void main(java.lang.String[] arg)
           
 void solve(SymMatrix A, DVect b, DVect x)
          Solve LDL^t x=b.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolverCrout

public SolverCrout()
Method Detail

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)