Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LDSqSobol Class Reference

This class implements the Sobol Sequence, direction numbers are only available for 51 dimensions, so we can only provide that many dimensions. More...

#include <SimSeqs.h>

Inheritance diagram for LDSqSobol:

Inheritance graph
[legend]
Collaboration diagram for LDSqSobol:

Collaboration graph
[legend]
List of all members.

Public Methods

 LDSqSobol (long *b=NULL, long dm=0, long iterations=0, long genau=0, double genau1=0., char *ex="sob",char *nm="Sobol")

Protected Methods

virtual long CalculateNextElement (long nr, double *buffer, long bufflen)
virtual long InitData (long genau, double genau1)
virtual long ExitData ()

Protected Attributes

long* V

Detailed Description

This class implements the Sobol Sequence, direction numbers are only available for 51 dimensions, so we can only provide that many dimensions.


Constructor & Destructor Documentation

LDSqSobol::LDSqSobol ( long * b = NULL,
long dm = 0,
long iterations = 0,
long genau = 0,
double genau1 = 0.,
char * ex = "sob",
char * nm = "Sobol" )
 


Member Function Documentation

long LDSqSobol::CalculateNextElement ( long nr,
double * buffer,
long bufflen ) [protected, virtual]
 

Calculates the next element and stores it to the buffer.

If bufflen>dim, the remaining dimensions are pseudo-random numbers (i.e. the sequence is a hybrid sequence) This function should never be called directly! Use NextElement(..) instead!!!

See also:
NextElement()

Reimplemented from LDSqBase.

long LDSqSobol::ExitData ( ) [protected, virtual]
 

Do class-specific freeing of memory etc.

Called by the destructor

Reimplemented from LDSqBase.

long LDSqSobol::InitData ( long genau,
double genau1 ) [protected, virtual]
 

initialize the method specific data.

Reimplemented from LDSqBase.


Member Data Documentation

long * LDSqSobol::V [protected]
 


The documentation for this class was generated from the following files:
Generated at Wed Jun 20 19:48:28 2001 for LDSequences by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001