#include <uniform_on_sphere.hpp>
Public Types | |
typedef uniform_on_sphere | distribution_type |
Public Member Functions | |
param_type (int dim_arg=2) | |
Constructs the parameters of a uniform_on_sphere distribution, given the dimension of the sphere. More... | |
int | dim () const |
Returns the dimension of the sphere. More... | |
BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR (os, param_type, parm) | |
Writes the parameters to a std::ostream . More... | |
BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR (is, param_type, parm) | |
Reads the parameters from a std::istream . More... | |
BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR (param_type, lhs, rhs) | |
Returns true if the two sets of parameters are equal. More... | |
typedef uniform_on_sphere boost::random::uniform_on_sphere< RealType, Cont >::param_type::distribution_type |
|
inlineexplicit |
Constructs the parameters of a uniform_on_sphere distribution, given the dimension of the sphere.
References BOOST_ASSERT.
Referenced by boost::random::uniform_on_sphere< RealType, Cont >::param().
|
inline |
Returns true if the two sets of parameters are equal.
|
inline |
Reads the parameters from a std::istream
.
|
inline |
Writes the parameters to a std::ostream
.
|
inline |
Returns the dimension of the sphere.
Referenced by boost::random::uniform_on_sphere< RealType, Cont >::param().