q1471341.mp1074.test
Class SimpleTestIntegrands.FOne

java.lang.Object
  extended byq1471341.mp1074.integration.Integrand
      extended byq1471341.mp1074.test.SimpleTestIntegrands.FOne
Enclosing class:
SimpleTestIntegrands

public static class SimpleTestIntegrands.FOne
extends Integrand

This class represents the integrand f = 1

Author:
Ulrich Telle

Constructor Summary
SimpleTestIntegrands.FOne(int dim)
          Default constructor of class FOne
 
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

SimpleTestIntegrands.FOne

public SimpleTestIntegrands.FOne(int dim)
Default constructor of class FOne

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()