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.