Documentation of 'edu.stanford.rsl.jpop.testing.UncminTest_f77' Java class
UncminTest_f77
edu.stanford.rsl.jpop.testing

Class UncminTest_f77

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double evaluate(double[] x, int block)
      Evaluates the function at position x.
      (Note that x is a Fortran Array which starts at 1.)
      int getNumberOfProcessingBlocks()
      returns the number of parallel processing blocks.
      double[] gradient(double[] x_in_java, int block)
      Computes the Gradient at position x.
      double[][] hessian(double[] x_in_java, int block)
      Computes the Hessian matrix at position x.
      static void main(java.lang.String[] args) 
      void setNumberOfProcessingBlocks(int number)
      Sets the number of parallel processing blocks.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
      • evaluate

        public double evaluate(double[] x,
                               int block)
        Description copied from interface: OptimizableFunction
        Evaluates the function at position x.
        (Note that x is a Fortran Array which starts at 1.)
        Specified by:
        evaluate in interface OptimizableFunction
        Parameters:
        x - the position
        block - the block identifier. First block is 0. block is < getNumberOfProcessingBlocks().
        Returns:
        the function value at x
      • gradient

        public double[] gradient(double[] x_in_java,
                                 int block)
        Description copied from interface: GradientOptimizableFunction
        Computes the Gradient at position x. (Note that x is a Fortran Array which starts at 1.)
        Specified by:
        gradient in interface GradientOptimizableFunction
        Parameters:
        x_in_java - the position
        block - the block identifier. First block is 0. block is < getNumberOfProcessingBlocks().
        Returns:
        the gradient at x. (In Fortran Style)
      • hessian

        public double[][] hessian(double[] x_in_java,
                                  int block)
        Description copied from interface: HessianOptimizableFunction
        Computes the Hessian matrix at position x. (Note that x is a Fortran Array which starts at 1.)
        Specified by:
        hessian in interface HessianOptimizableFunction
        block - the block identifier. First block is 0. block is < getNumberOfProcessingBlocks().
        Returns:
        the Hessian at x. (In Fortran Style)
      • setNumberOfProcessingBlocks

        public void setNumberOfProcessingBlocks(int number)
        Description copied from interface: OptimizableFunction
        Sets the number of parallel processing blocks. This number should optimally equal to the number of available processors in the current machine. Default value should be 1.
        Specified by:
        setNumberOfProcessingBlocks in interface OptimizableFunction

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.