choreo.segm.quad.EvalOnNodes#

EvalOnNodes(fun, Py_ssize_t ndim, (double, double) x_span, QuadTable quad) ndarray#

Evaluates a function on quadrature nodes of an interval.

Parameters:
Returns:

The approximated value of the integral.

Return type:

numpy.ndarray(shape = (ndim), dtype = np.float64)