Documentation of 'jvx.numeric.PnBiconjugateGradient' Java class
PnBiconjugateGradient ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.numeric

Class PnBiconjugateGradient



  • public class PnBiconjugateGradient
    extends PnConjugateGradientMatrix
    Solve sparse linear equation systems using preconditioned biconjugate gradient method.
    Author:
    Klaus Hildebrandt.
    Version:
    20.06.06, 2.01 revised (kp) Deprecated method linbcg() removed.
    02.12.05, 2.00 revised (jh) Now extends PnConjugateGradientMatrix.
    11.03.03, 1.00 created (kh)
    • Constructor Detail

      • PnBiconjugateGradient

        public PnBiconjugateGradient()
        Constructor.
    • Method Detail

      • setUseStabilized

        public void setUseStabilized(boolean stab)
        If set true to use the stabilized biconjugate gradient method.
        Parameters:
        stab -
      • getUseStabilized

        public boolean getUseStabilized()
        Returns whether the stabilized biconjugate gradient method is used or not.
      • solve

        public double solve(PnSparseMatrix smat,
                            PdVector x,
                            PdVector b)
        Method solves a sparse linear equation system A*x=b. Set the preconditioner to use with @see setPreconditioner( PnPreconditioner prec ) By default the stabilized biconjugate gradient method is used, you can force the regular biconjugate gradient method with setUseStabilized(false). The matrix has to be square.
        Overrides:
        solve in class PnConjugateGradientMatrix
        Returns:
        estimated error of solution or -1 at error.
      • linbcg

        public double linbcg(PnSparseMatrix smat,
                             PdVector x,
                             PdVector b)
        Deprecated. since JavaView 3.96.023, use method #solve() with same signature instead.
        Method solves a sparse linear equation system A*x=b using a preconditioned biconjugate gradient method.
        Returns:
        estimated error of solution or -1 at error.
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.