cern.colt.matrix.tfloat.algo.solver.preconditioner
Interface FloatPreconditioner
-
- All Known Implementing Classes:
- FloatAMG, FloatDiagonal, FloatICC, FloatIdentity, FloatILU, FloatILUT, FloatSSOR
public interface FloatPreconditionerPreconditioner interface. Before a preconditioner is used,setMatrixmust be called
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description FloatMatrix1Dapply(FloatMatrix1D b, FloatMatrix1D x)Solves the approximate problem with the given right hand side.voidsetMatrix(FloatMatrix2D A)Sets the operator matrix for the preconditioner.FloatMatrix1DtransApply(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 problemx- 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 problemx- 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
-
-
DMelt 3.0 © DataMelt by jWork.ORG