IMT(*varargin, **kwargs) | Class for performing the integral |
Inheritance diagram for mmf.math.integrate.integrate_1d.imt:
IMT Integration method (mmf.math.integrate.integrate_1d.imt)
IMT(*varargin, **kwargs) | Class for performing the integral |
Bases: mmf.objects.StateVars
Class for performing the integral
IMT(n_max=11,
n=9,
n_0=5,
abs_tol=2.22044604925e-16,
rel_tol=2.22044604925e-16,
verbosity=0)
using the IMT method for evaluating integrals over [0,1]:
Examples
>>> integrate = IMT()
>>> integrate(np.sqrt, 0, 1)
0.666666666...
Attributes