59#define BN_SOBOL_MAXDIM 1111
65BN_EXPORT
extern struct bn_soboldata *
bn_sobol_create(
unsigned int sdim,
unsigned long seed);
84BN_EXPORT
extern double *
bn_sobol_next(
struct bn_soboldata *s,
const double *lb,
const double *ub);
Header file for the BRL-CAD common definitions.
void bn_sobol_skip(struct bn_soboldata *s, unsigned n)
double * bn_sobol_next(struct bn_soboldata *s, const double *lb, const double *ub)
void bn_sobol_sph_sample(point_t sample, const point_t center, const fastf_t radius, struct bn_soboldata *s)
Generate a sample point on a sphere per Marsaglia (1972), using the Sobol data sequence s to drive th...
struct bn_soboldata * bn_sobol_create(unsigned int sdim, unsigned long seed)
void bn_sobol_destroy(struct bn_soboldata *s)
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
fundamental vector, matrix, quaternion math macros