|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjvx.numeric.PnBiconjugateGradient
Solve sparse linear equation systems using preconditioned biconjugate gradient method.
| Constructor Summary | |
PnBiconjugateGradient()
Constructor |
|
| Method Summary | |
double |
getActualEstimatedError()
Get estimated error of last linbcg call. |
int |
getActualNumOfTakenIterations()
Get number of iterations used in last linbcg call. |
double |
getConvergenceTest()
There are four different methods measure the convergence of the solution of the linear equation used in linbcg. |
int |
getDimension()
Get dimension. |
double |
getEPS()
Set EPS used during solving of linear equations. |
int |
getMaxNumIterations()
Get maximum number of allowed iterations. |
double |
getTolerance()
Get desired convergence tolerance of linbcg. |
boolean |
isUsingPrecondioning()
Check if precondioning is enabled. |
double |
linbcg(PnSparseMatrix smat,
PdVector x,
PdVector b)
Method solves a sparse linear equation system A*x=b using a preconditioned biconjugate gradient method. |
static void |
preconditionJacobiLeft(PnSparseMatrix smat,
PdVector b)
Perform a diagonal (Jacobi) preconditioning from the left to the a linear equation system smat.x=b. |
static void |
preconditionJacobiLeft(PnSparseMatrix smat,
PdVector b,
int dim)
Perform a diagonal (Jacobi) preconditioning from the left to the a linear equation system smat.x=b. |
void |
setConvergenceTest(int aTest)
There are four different methods measure the convergence of the solution of the linear equation used in linbcg. |
void |
setDimension(int dim)
Set dimension of surface matrix is based on. |
void |
setEPS(double eps)
Set EPS used during solving of linear equations. |
void |
setMaxNumIterations(int itmax)
Set maximum number of allowed iterations. |
void |
setTolerance(double tol)
Set desired convergence tolerance of linbcg. |
void |
usePreconditioning(boolean flag)
Enable/Disable preconditioning before solving the linear equation system. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PnBiconjugateGradient()
| Method Detail |
public double getActualEstimatedError()
public int getActualNumOfTakenIterations()
public void setMaxNumIterations(int itmax)
public int getMaxNumIterations()
public void setTolerance(double tol)
public double getTolerance()
public void setDimension(int dim)
public int getDimension()
public void setEPS(double eps)
public double getEPS()
public void setConvergenceTest(int aTest)
public double getConvergenceTest()
setConvergenceTest(int)public void usePreconditioning(boolean flag)
public boolean isUsingPrecondioning()
public double linbcg(PnSparseMatrix smat,
PdVector x,
PdVector b)
public static void preconditionJacobiLeft(PnSparseMatrix smat,
PdVector b,
int dim)
public static void preconditionJacobiLeft(PnSparseMatrix smat,
PdVector b)
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||