opale.matrix.solver
Class SolverLU

java.lang.Object
  |
  +--opale.matrix.solver.SolverLU
All Implemented Interfaces:
Decomposition, Solver

public class SolverLU
extends java.lang.Object
implements Solver, Decomposition

This class implements LU 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.Decomposition
REPLACE
 
Constructor Summary
SolverLU()
           
 
Method Summary
 void decomp(Matrix A)
          Decompose the matrix A.
 double determinant()
          Compute the determinant : product of U[i][i]
static void main(java.lang.String[] arg)
           
 void solve(Matrix A, DVect b, DVect x)
          Solve LUx=b.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolverLU

public SolverLU()
Method Detail

decomp

public void decomp(Matrix A)
Description copied from interface: Decomposition
Decompose the matrix A.
Specified by:
decomp in interface Decomposition

determinant

public double determinant()
Compute the determinant : product of U[i][i]
Returns:
double, the determinant

solve

public void solve(Matrix A,
                  DVect b,
                  DVect x)
Solve LUx=b.
Specified by:
solve in interface Solver
Parameters:
Matrix - A, not used.

main

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