Open3D (C++ API)
0.18.0+252c867
|
#include <Random.h>
Public Member Functions | |
NormalGenerator (const T mean=0.0, const T stddev=1.0) | |
T | operator() () |
Call this to generate a normally distributed floating point value. More... | |
Protected Attributes | |
std::normal_distribution< T > | distribution_ |
Generate normally distributed floating point values with mean and std. This class is globally seeded by utility::random::Seed(). This class is a wrapper around std::normal_distribution.
Example:
|
inline |
Generate normally distributed floating point value with mean and std.
mean | The mean of the distribution. |
stddev | The standard deviation of the distribution. |
|
inline |
Call this to generate a normally distributed floating point value.
|
protected |