opale.matrix.solver
Class SolverCholesky

java.lang.Object
  |
  +--opale.matrix.solver.SolverCholesky
All Implemented Interfaces:
SymDecomposition, SymSolver

public class SolverCholesky
extends java.lang.Object
implements SymSolver, SymDecomposition

This class implements Cholesky decomposition according to the book "Analyse matricielle appliquée à l'art de l'ingénieur", Lascaux & Théodor, Ed. Masson.


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

Constructor Detail

SolverCholesky

public SolverCholesky()
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 B tBx=b.
Specified by:
solve in interface SymSolver
Parameters:
Matrix - A, not used.

determinant

public double determinant()
Compute the determinant : square of product B[i][i]
Returns:
double, the determinant
Since:
Opale matrix 0.11

main

public static void main(java.lang.String[] arg)