moments moments::uniform_distribution ( size_t  dimension,
size_t  num_points,
double  left,
double  right 
)

Function that generates moments of the univariate uniform distribution.

Parameters:
dimension: Dimension of the problem
num_points: Number of quadrature points
left: Value of the interval at the left
right: Value of the interval at the right
Returns:
moments : Moments of the uniform distribution This pdf has bounded support [left, right]. Works only for the univariate case.
 All Classes Files Functions Variables Typedefs Friends Defines