opale.matrix.solver
Class SolverLUBand

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

public class SolverLUBand
extends java.lang.Object
implements Solver, BandDecomposition

This class implements LU decomposition (without pivoting!!) for the band matrices.


Fields inherited from interface opale.matrix.BandDecomposition
REPLACE
 
Constructor Summary
SolverLUBand()
           
 
Method Summary
 void decomp(BandMatrix 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

SolverLUBand

public SolverLUBand()
Method Detail

decomp

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

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)