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

Class PnFunction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf
    Direct Known Subclasses:
    PnEnergy, PnLevelSet, PnPassedFunction


    public abstract class PnFunction
    extends PsObject
    Abstract class for functions to be used numerical methods, e.g. in minimization classes.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    22.12.99, 1.10 revised (kp) Evaluation flag added to allow interruption of minimization.
    00.00.98, 1.00 created (kp)
    • Constructor Detail

      • PnFunction

        public PnFunction()
    • Method Detail

      • isEvaluable

        public boolean isEvaluable()
        Check whether function allows evaluation. Flag used to stop minimization process inside CG minimizer.
      • enableEvaluation

        public void enableEvaluation(boolean flag)
        Enable evaluation of function.
      • getNumOfVariables

        public abstract int getNumOfVariables()
        Get number of free argument variables.
      • eval

        public abstract double eval(PdVector x)
        At position x evaluate the functional.
      • evalGradient

        public abstract PdVector evalGradient(PdVector x,
                                              PdVector aGradient)
        At position x evaluate the gradient of the functional, aGradient may be null.
      • evalHessian

        public abstract PdMatrix evalHessian(PdMatrix aHessian)
        At position x evaluate the hessian of the functional, aHessian may be null. Method returns a matrix which considers only the non-boundary vertices.
"JavaView? v5.03.003"

"

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

You see the box below because you did not login.