public class DoubleILU extends Object implements DoublePreconditioner
| Constructor and Description |
|---|
DoubleILU(int n)
Sets up the ILU preconditioner
|
| Modifier and Type | Method and Description |
|---|---|
DoubleMatrix1D |
apply(DoubleMatrix1D b,
DoubleMatrix1D x)
Solves the approximate problem with the given right hand side.
|
void |
setMatrix(DoubleMatrix2D A)
Sets the operator matrix for the preconditioner.
|
DoubleMatrix1D |
transApply(DoubleMatrix1D b,
DoubleMatrix1D x)
Solves the approximate transpose problem with the given right hand side.
|
public DoubleILU(int n)
n - Problem size (number of rows)public DoubleMatrix1D apply(DoubleMatrix1D b, DoubleMatrix1D x)
DoublePreconditionerapply in interface DoublePreconditionerb - Right hand side of problemx - Result is stored herepublic DoubleMatrix1D transApply(DoubleMatrix1D b, DoubleMatrix1D x)
DoublePreconditionertransApply in interface DoublePreconditionerb - Right hand side of problemx - Result is stored herepublic void setMatrix(DoubleMatrix2D A)
DoublePreconditionersetMatrix in interface DoublePreconditionerA - Matrix to setup the preconditioner for. Not modifiedJump to the Parallel Colt Homepage