#ifndef __HALTON_H #define __HALTON_H #include #include class Halton { public: static void TestHalton(int n, int dim); static void TestPrime(); Halton(int dim); float GetNext(); protected: static bool IsPrime(int n); static int FindPrime(int idx); //////////////////// unsigned int mIndex; int mBase; }; class HaltonSequence { public: static void TestHalton(int n, int dim); HaltonSequence(int dim); void GetNext(float *numbers); protected: std::vector mHaltons; }; #endif