flashquad.methods.trapezoid¶
Composite trapezoidal rule.
Module Contents¶
Functions¶
Composite trapezoidal rule along the given axis. |
|
Integrate using the composite trapezoidal rule. |
API¶
- flashquad.methods.trapezoid._trapezoid(xp, y, x, axis)¶
Composite trapezoidal rule along the given axis.
- flashquad.methods.trapezoid.trapz(xp, dtype, func, intervals, num_points, *, params=None, boundary=None, device=None)¶
Integrate using the composite trapezoidal rule.