g2o
Static Public Member Functions | Static Private Attributes | List of all members
Sample Class Reference

Static Public Member Functions

static int uniform (int from, int to)
 
static double uniform ()
 
static double gaussian (double sigma)
 
static int uniform (int from, int to)
 
static double uniform ()
 
static double gaussian (double sigma)
 
static int uniform (int from, int to)
 
static double uniform ()
 
static double gaussian (double sigma)
 
static int uniform (int from, int to)
 
static double uniform ()
 
static double gaussian (double sigma)
 
static int uniform (int from, int to)
 
static double uniform ()
 
static double gaussian (double sigma)
 

Static Private Attributes

static default_random_engine gen_real
 
static default_random_engine gen_int
 

Detailed Description

Definition at line 48 of file ba_demo.cpp.

Member Function Documentation

double Sample::gaussian ( double  sigma)
static

Definition at line 77 of file ba_demo.cpp.

References gauss_rand().

Referenced by gauss_rand(), and main().

77  {
78  return gauss_rand(0., sigma);
79 }
static double gauss_rand(double mean, double sigma)
Definition: ba_demo.cpp:59
static double Sample::gaussian ( double  sigma)
static
static double Sample::gaussian ( double  sigma)
static
static double Sample::gaussian ( double  sigma)
static
static double Sample::gaussian ( double  sigma)
static
static int Sample::uniform ( int  from,
int  to 
)
static
static int Sample::uniform ( int  from,
int  to 
)
static
int Sample::uniform ( int  from,
int  to 
)
static

Definition at line 69 of file ba_demo.cpp.

References uniform_rand().

69  {
70  return static_cast<int>(uniform_rand(from, to));
71 }
static double uniform_rand(double lowerBndr, double upperBndr)
Definition: ba_demo.cpp:55
static int Sample::uniform ( int  from,
int  to 
)
static
double Sample::uniform ( )
static

Definition at line 73 of file ba_demo.cpp.

References uniform_rand().

Referenced by gauss_rand(), and main().

73  {
74  return uniform_rand(0., 1.);
75 }
static double uniform_rand(double lowerBndr, double upperBndr)
Definition: ba_demo.cpp:55
static double Sample::uniform ( )
static
static double Sample::uniform ( )
static
static double Sample::uniform ( )
static
static int Sample::uniform ( int  from,
int  to 
)
static
static double Sample::uniform ( )
static

Member Data Documentation

default_random_engine Sample::gen_int
staticprivate

Definition at line 48 of file gicp_demo.cpp.

default_random_engine Sample::gen_real
staticprivate

Definition at line 47 of file gicp_demo.cpp.


The documentation for this class was generated from the following files: