public class PnBiconjugateGradient extends PnConjugateGradientMatrix
Constructor and Description |
---|
PnBiconjugateGradient()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getUseStabilized()
Returns whether the stabilized biconjugate gradient method is used or not.
|
double |
linbcg(PnSparseMatrix smat,
PdVector x,
PdVector b)
Deprecated.
since JavaView 3.96.023, use method #solve() with same signature instead.
|
void |
setUseStabilized(boolean stab)
If set true to use the stabilized biconjugate gradient method.
|
double |
solve(PnSparseMatrix smat,
PdVector x,
PdVector b)
Method solves a sparse linear equation system A*x=b.
|
converged, getActualEstimatedError, getActualNumOfTakenIterations, getConvergenceTest, getDimension, getMaxNumIterations, getPreconditioner, getTolerance, setConvergenceTest, setDimension, setMaxNumIterations, setPreconditioner, setTolerance, updatePreconditioner
public void setUseStabilized(boolean stab)
stab
- public boolean getUseStabilized()
public double solve(PnSparseMatrix smat, PdVector x, PdVector b)
solve
in class PnConjugateGradientMatrix
public double linbcg(PnSparseMatrix smat, PdVector x, PdVector b)
"