 |
Bsoft
2.1.0
Bernard's software package
|
float * random_array_gaussian(long n, double avg, double std)
Generates a series with a gaussian random distribution of values.
float * random_array_uniform(long n, double min, double max)
Generates a series with a uniform random distribution.
Vector3< double > vector3_xy_random_gaussian(double avg, double std)
Generates a random vector within a random gaussian-distributed length in the xy plane.
Vector3< double > vector3_random_gaussian(double avg, double std)
Generates a random vector within a random gaussian-distributed length.
double random_logistical(double avg, double std)
Generates a value with a logistical random distribution.
double random_gaussian(double avg, double std)
Generates a value with a gaussian random distribution.
Vector3< double > vector3_random(const double min, const double max)
Generates a random vector within a defined cube.
double length(vector< T > v)
double random_poisson(double avg)
Generates a value deviating from the average based on a poisson distribution.
float * random_array_poisson(int n, double avg)
Generates a series with a poisson random distribution of values.
float * random_array_logistical(long n, double avg, double std)
Generates an array with a logistical random distribution.
Class for 3-value vectors.
long random_seed()
Gets a random seed and sets the flag.
Vector3< double > vector3_random_unit_sphere()
Generates a random vector on the unit sphere.
long get_rand_max()
Finds the maximum random number for a system.