QuasiRandom
Class Intgrnd_4

java.lang.Object
  extended byQuasiRandom.CubeFunction
      extended byQuasiRandom.SeparableCubeFunction
          extended byQuasiRandom.Intgrnd
              extended byQuasiRandom.Intgrnd_4

public class Intgrnd_4
extends Intgrnd

Intgrnd with g(u)=(n+1)*u^n.


Constructor Summary
Intgrnd_4(int dim, int m, int n)
           
 
Method Summary
 double g(double u)
          The function defining the factor h as h(u)=g(m*u-[m*u]).
 java.lang.String getName()
          Identifier for the function.
 double gIntegral()
          The integral of g over (0,1).
 
Methods inherited from class QuasiRandom.Intgrnd
h, hIntegral
 
Methods inherited from class QuasiRandom.SeparableCubeFunction
integral, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Intgrnd_4

public Intgrnd_4(int dim,
                 int m,
                 int n)
Parameters:
dim - dimension
m - number of periods of g on (0,1).
Method Detail

getName

public java.lang.String getName()
Description copied from class: CubeFunction
Identifier for the function.

Specified by:
getName in class CubeFunction

g

public double g(double u)
Description copied from class: Intgrnd
The function defining the factor h as h(u)=g(m*u-[m*u]).

Specified by:
g in class Intgrnd

gIntegral

public double gIntegral()
Description copied from class: Intgrnd
The integral of g over (0,1).

Specified by:
gIntegral in class Intgrnd