Parallel Colt 0.7.2

cern.colt.matrix.tfloat.algo.solver.preconditioner
Interface FloatPreconditioner

All Known Implementing Classes:
FloatAMG, FloatDiagonal, FloatICC, FloatIdentity, FloatILU, FloatILUT, FloatSSOR

public interface FloatPreconditioner

Preconditioner interface. Before a preconditioner is used, setMatrix must be called


Method Summary
 FloatMatrix1D apply(FloatMatrix1D b, FloatMatrix1D x)
          Solves the approximate problem with the given right hand side.
 void setMatrix(FloatMatrix2D A)
          Sets the operator matrix for the preconditioner.
 FloatMatrix1D transApply(FloatMatrix1D b, FloatMatrix1D x)
          Solves the approximate transpose problem with the given right hand side.
 

Method Detail

apply

FloatMatrix1D apply(FloatMatrix1D b,
                    FloatMatrix1D x)
Solves the approximate problem with the given right hand side. Result is stored in given solution vector

Parameters:
b - Right hand side of problem
x - Result is stored here
Returns:
x

transApply

FloatMatrix1D transApply(FloatMatrix1D b,
                         FloatMatrix1D x)
Solves the approximate transpose problem with the given right hand side. Result is stored in given solution vector

Parameters:
b - Right hand side of problem
x - Result is stored here
Returns:
x

setMatrix

void setMatrix(FloatMatrix2D A)
Sets the operator matrix for the preconditioner. This method must be called before a preconditioner is used by an iterative solver

Parameters:
A - Matrix to setup the preconditioner for. Not modified

Parallel Colt 0.7.2

Jump to the Parallel Colt Homepage