QuasiRandom
Class Intgrnd_3
java.lang.Object
QuasiRandom.CubeFunction
QuasiRandom.SeparableCubeFunction
QuasiRandom.Intgrnd
QuasiRandom.Intgrnd_3
- public class Intgrnd_3
- extends Intgrnd
Intgrnd
with g(u)=sin^2(2pi*u)
.
Field Summary |
static double |
TWO_PI
|
Constructor Summary |
Intgrnd_3(int dim,
int m)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TWO_PI
public static final double TWO_PI
- See Also:
- Constant Field Values
Intgrnd_3
public Intgrnd_3(int dim,
int m)
- Parameters:
dim
- dimensionm
- number of periods of g on (0,1).
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