public class FloatIdentity extends Object implements FloatPreconditioner
Constructor and Description |
---|
FloatIdentity() |
Modifier and Type | Method and Description |
---|---|
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.
|
public FloatMatrix1D apply(FloatMatrix1D b, FloatMatrix1D x)
FloatPreconditioner
apply
in interface FloatPreconditioner
b
- Right hand side of problemx
- Result is stored herepublic FloatMatrix1D transApply(FloatMatrix1D b, FloatMatrix1D x)
FloatPreconditioner
transApply
in interface FloatPreconditioner
b
- Right hand side of problemx
- Result is stored herepublic void setMatrix(FloatMatrix2D A)
FloatPreconditioner
setMatrix
in interface FloatPreconditioner
A
- Matrix to setup the preconditioner for. Not modifiedJump to the Parallel Colt Homepage