Function that evaluates the gradient of function in Newton's method.
- Parameters:
-
x | : vquad pts/wts ector on which function is defined |
params | : Void pointer passing parameters to compute moments |
J | : Jacobian matrix for Newton's method |
Used for the Newton's method of solving system of non-linear equations to get quadrature points and weights.