q1471341.mp1074.test
Class GenzTestIntegrands.GenzDiscontinuous

java.lang.Object
  extended byq1471341.mp1074.integration.Integrand
      extended byq1471341.mp1074.test.GenzTestIntegrands.GenzDiscontinuous
Enclosing class:
GenzTestIntegrands

public class GenzTestIntegrands.GenzDiscontinuous
extends Integrand


Constructor Summary
GenzTestIntegrands.GenzDiscontinuous(int dimension, double h)
           
 
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

GenzTestIntegrands.GenzDiscontinuous

public GenzTestIntegrands.GenzDiscontinuous(int dimension,
                                            double h)
Method Detail

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

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

toString

public java.lang.String toString()