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)
FloatPreconditionerapply in interface FloatPreconditionerb - Right hand side of problemx - Result is stored herepublic FloatMatrix1D transApply(FloatMatrix1D b, FloatMatrix1D x)
FloatPreconditionertransApply in interface FloatPreconditionerb - Right hand side of problemx - Result is stored herepublic void setMatrix(FloatMatrix2D A)
FloatPreconditionersetMatrix in interface FloatPreconditionerA - Matrix to setup the preconditioner for. Not modifiedJump to the Parallel Colt Homepage