Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Sequences - SobolSequenceC
 

  PUBLIC
SobolSequenceC::SobolSequenceC(int,int)
SobolSequenceC::N(void) const
SobolSequenceC::First(void)
SobolSequenceC::IsElm(void) const
SobolSequenceC::operator bool(void) const
SobolSequenceC::Next(void)
SobolSequenceC::operator ++(int)
SobolSequenceC::Data(void) const
SobolSequenceC::Init(void)

   SobolSequenceC   
 
Generate a sobel sequence.
 
include "Ravl/SobolSequence.hh"
Created:15/03/99 
Source file:Ravl/Math/Sequence/SobolSequence.hh
User Level:Normal
Library:RavlMath
In Scope:RavlN

Comments:
Re-implementation from numerical recipies 2nd edition. pg 312

Variables:
IntT n;
Dimention of sequence.

IntT s;
Position in sequence.

IntT bits;
Bits to use.

bool done;

RealT frac;

SArray1dC work;

SArray1dC result;

SArray2dC vx;

Methods:
SobolSequenceC(int n = 0,int bits = 30)
Genererate a sequence with n dimentions.

IntT N() const
Get dimention of sequence.

bool First()
Goto first point in sequence.

bool IsElm() const
Are the numbers left in the sequence ?

operator bool() const
Are the numbers left in the sequence ?

bool Next()
Goto next point in sequence.
Return: false if out of numbers.

void operator ++(int)
Goto next value in the sequence.

const SArray1dC<RealT> & Data() const
Get point. each element will have a value between
0 and one.

void Init()
Initalise static's


Maintainer:Charles Galambos, Created: 15/03/99, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002