firecrown.models.cluster.integrator.integrator.Integrator

firecrown.models.cluster.integrator.integrator.Integrator#

class firecrown.models.cluster.integrator.integrator.Integrator[source]#

Bases: ABC

The integrator base class.

This class acts as an adapter around an integration library.

Public Methods:

__init__()

integrate(func_to_integrate)

Call this method to integrate the provided integrand argument.


abstract integrate(func_to_integrate)[source]#

Call this method to integrate the provided integrand argument.

Parameters:

func_to_integrate (Callable[[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]], ndarray[Any, dtype[float64]]]) –

Return type:

float