Function that evaluates the moments from quadrature points and weights.
- Parameters:
-
x | : vquad pts/wts ector on which function is defined |
params | : Void pointer passing parameters to compute moments |
f | : Function that computes moments at each step during Newton method |
Used for the Newton's method of solving system of non-linear equations to get quadrature points and weights.