crow.integrator.integrator module

The cluster integrator module.

This module holds the classes that define the interface required to integrate a function.

class crow.integrator.integrator.Integrator[source]

Bases: ABC

The integrator base class.

This class acts as an adapter around an integration library.

abstractmethod integrate(func_to_integrate: Callable[[ndarray[tuple[Any, ...], dtype[float64]], ndarray[tuple[Any, ...], dtype[float64]]], ndarray[tuple[Any, ...], dtype[float64]]]) float[source]

Call this method to integrate the provided integrand argument.