moments quadpts::get_fixed_number_moments_1D ( size_t  num_moments,
size_t  num_points 
) const

Function that computes the specified number of moments using the quadrature points and weights.

Parameters:
num_moments: Number of moments of moments required
num_points: Number of quadrature points
Returns:
moments : Vector of moments All first num_moments moments returned. works only for the univariate case.
All Classes Files Functions Variables Typedefs Friends Defines