Source code for torchquad.integration.newton_cotes
from .grid_integrator import GridIntegrator
[docs]
class NewtonCotes(GridIntegrator):
"""The abstract integrator that Composite Newton Cotes integrators inherit from"""
def __init__(self):
super().__init__()