public class PnPreconditionerJacobi extends PnPreconditioner
m_smat| Constructor and Description |
|---|
PnPreconditionerJacobi(PnSparseMatrix smat) |
| Modifier and Type | Method and Description |
|---|---|
PdVector |
apply(PdVector b,
PdVector x,
int dim)
Apply the preconditioner to a given vector b storing the result in x
using given dimension of vectors
This method has to be implemented
|
PdVector |
applyTransposed(PdVector b,
PdVector x,
int dim)
Apply the preconditioner transposed to a given vector b storing the result in x
This method has to be implemented
|
void |
setSparseMatrix(PnSparseMatrix pm)
Set the matrix to use in the preconditionert.
|
apply, applyTransposedpublic PnPreconditionerJacobi(PnSparseMatrix smat)
public void setSparseMatrix(PnSparseMatrix pm)
PnPreconditionerThis method has to be implemented
setSparseMatrix in class PnPreconditionerpublic PdVector apply(PdVector b, PdVector x, int dim)
PnPreconditionerThis method has to be implemented
apply in class PnPreconditionerpublic PdVector applyTransposed(PdVector b, PdVector x, int dim)
PnPreconditionerThis method has to be implemented
applyTransposed in class PnPreconditioner"