ITK
4.8.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
SphinxExamples/src/Core/Common/MersenneTwisterRandomNumberGenerator/Code.cxx
#include "
itkMersenneTwisterRandomVariateGenerator.h
"
int
main(
int
,
char
*[])
{
typedef
itk::Statistics::MersenneTwisterRandomVariateGenerator
GeneratorType;
GeneratorType::Pointer generator = GeneratorType::New();
generator->Initialize();
std::cout << generator->GetUniformVariate(0, 5) << std::endl;
return
EXIT_SUCCESS;
}
Generated on Fri Jul 3 2015 02:47:23 for ITK by
1.8.5