IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
Random number utility functions used by IMP. More...
#include <IMP/kernel_config.h>
#include <IMP/Vector.h>
#include <IMP/random.h>
#include "IMP/internal/random_number_generation_boost.h"
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_real_distribution.hpp>
Go to the source code of this file.
Namespaces | |
IMP | |
Base functionality and abstract base classes for representation, scoring and sampling. | |
Functions | |
double | IMP::get_random_double_uniform () |
Return a uniformly distributed double number in range [0..1) More... | |
double | IMP::get_random_double_uniform (double min, double max) |
Return a uniformly distributed double number in range [min..max) More... | |
float | IMP::get_random_float_uniform () |
Return a uniformly distributed float number in range [0..1) More... | |
float | IMP::get_random_float_uniform (float min, float max) |
Return a uniformly distributed float number in range [min..max) More... | |
template<typename RealType > | |
void | IMP::get_random_numbers_normal (Vector< RealType > &v, unsigned int n, RealType mean=0.0, RealType stddev=1.0) |
Fill the double array with random normally distributed values. More... | |
template<typename RealType > | |
void | IMP::get_random_numbers_uniform (Vector< RealType > &v, unsigned int n) |
Fill the float array with random uniformly distributed values. More... | |
Random number utility functions used by IMP.
Copyright 2007-2022 IMP Inventors. All rights reserved.
Definition in file random_utils.h.