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, applyTransposed
public PnPreconditionerJacobi(PnSparseMatrix smat)
public void setSparseMatrix(PnSparseMatrix pm)
PnPreconditioner
This method has to be implemented
setSparseMatrix
in class PnPreconditioner
public PdVector apply(PdVector b, PdVector x, int dim)
PnPreconditioner
This method has to be implemented
apply
in class PnPreconditioner
public PdVector applyTransposed(PdVector b, PdVector x, int dim)
PnPreconditioner
This method has to be implemented
applyTransposed
in class PnPreconditioner
"