q1471341.mp1074.test
Class TestOptimizer.F

java.lang.Object
  extended byq1471341.mp1074.integration.Integrand
      extended byq1471341.mp1074.test.TestOptimizer.F
Enclosing class:
TestOptimizer

public static class TestOptimizer.F
extends Integrand


Constructor Summary
TestOptimizer.F(int dim)
          Default constructor of class F_Alpha
 
Method Summary
 int dimension()
          Returns the dimension of the domain of the function.
 double evaluate(double[] x)
          Evaluates the integrand at the specified point.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestOptimizer.F

public TestOptimizer.F(int dim)
Default constructor of class F_Alpha

Method Detail

dimension

public int dimension()
Description copied from class: Integrand
Returns the dimension of the domain of the function.

Specified by:
dimension in class Integrand
Returns:
the number of dimensions of the domain of the function

evaluate

public double evaluate(double[] x)
Description copied from class: Integrand
Evaluates the integrand at the specified point. The method should check for the correct size of the argument vector x. The protected method checkArgument may be used for this purpose.

Specified by:
evaluate in class Integrand
Parameters:
x - the point in R^s where the integrand is to be evaluated
Returns:
the value of the integrand at x

toString

public java.lang.String toString()