58 BN_NUMGEN_PRAND_TABLE = 0,
59 BN_NUMGEN_PRAND_MT1337,
60 BN_NUMGEN_QRAND_SOBOL,
61 BN_NUMGEN_QRAND_SCRAMBLED_SOBOL,
62 BN_NUMGEN_QRAND_HALTON,
63 BN_NUMGEN_NRAND_BOX_MULLER,
64 BN_NUMGEN_NRAND_RATIO_OF_UNIFORMS,
73BN_EXPORT
bn_numgen bn_numgen_create(bn_numgen_t type,
int dim,
double seed);
76BN_EXPORT bn_numgen_t bn_numgen_type(
bn_numgen n);
81BN_EXPORT
int bn_numgen_setrange(
bn_numgen ngen,
double lb,
double ub);
113BN_EXPORT
int bn_numgen_next_ints(
int *l,
size_t cnt,
bn_numgen ngen);
114BN_EXPORT
int bn_numgen_next_ulongs(
unsigned long *l,
size_t cnt,
bn_numgen ngen);
115BN_EXPORT
int bn_numgen_next_fastf_t(
fastf_t *l,
size_t cnt,
bn_numgen ngen);
116BN_EXPORT
int bn_numgen_next_doubles(
double *l,
size_t cnt,
bn_numgen ngen);
Header file for the BRL-CAD common definitions.
struct bn_num_s * bn_numgen
void bn_sph_pnts(point_t *pnts, size_t cnt, bn_numgen n)
Generate points on a unit sphere per Marsaglia (1972): https://projecteuclid.org/euclid....
void float float int int * flag
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