![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
#include <IPSDKUtil/IPSDKUtilExports.h>#include <IPSDKUtil/BaseTypes.h>#include <IPSDKUtil/Tools/ForceInline.h>#include <IPSDKUtil/Tools/NumericLimits.h>#include <boost/random/mersenne_twister.hpp>#include <boost/random/discrete_distribution.hpp>#include <boost/random/uniform_real_distribution.hpp>#include <boost/type_traits/is_integral.hpp>Go to the source code of this file.
Classes | |
| class | ipsdk::RandomUniformGenerator |
| class exposing the random number generator used by the implementation of the functions genRandomUniformValue, and enabling the modification of the generator seed More... | |
| struct | ipsdk::RandomUniformGeneratorSeedLocker |
| class setting in its constructor the seed of the random number generator used by the implementation of the functions genRandomUniformValue to a given value, and resetting this seed to time(0) in its destructor this class may be useful when the user wants to generate a "random" sequence of number that is repeatable from one execution to another More... | |
| struct | ipsdk::GenRandomUniform< T, Enable > |
| struct used by the implementation of the functions genRandomUniformValue More... | |
| struct | ipsdk::GenRandomUniform< T, typename boost::enable_if_c< boost::is_integral< T >::value >::type > |
| struct | ipsdk::GenRandomUniform< T, typename boost::enable_if_c<!boost::is_integral< T >::value >::type > |
Namespaces | |
| ipsdk | |
| Main namespace for IPSDK library. | |
Functions | |
| template<typename T > | |
| IPSDK_FORCEINLINE T | ipsdk::genRandomUniformValue (const T &minVal, const T &maxVal) |
| generates a random value of type T on the range [minVal, maxVal] | |
| template<typename T > | |
| IPSDK_FORCEINLINE T | ipsdk::genRandomUniformValue () |
| generates a random value of type T on the range [min value for type T, max | |
1.8.14