diff --git a/src/grid/ngrid.py b/src/grid/ngrid.py index a3539e77..7104035e 100644 --- a/src/grid/ngrid.py +++ b/src/grid/ngrid.py @@ -176,13 +176,10 @@ def integrate(self, integrand_function, non_vectorized=False, integration_chunk_ Parameters ---------- - integrand : callable + integrand_function : callable Integrand function to integrate. It must take a list of arguments (one for each domain) with the same dimension as the grid points used for the corresponding domain and return a float (e.g. a function of the form f([x1,y1,z1], [x2,y2,z2]) -> float). - integration_chunk_size : int, optional - Number of points to integrate at once. This parameter can be used to control the - memory usage of the integration. Default is 1000. non_vectorized : bool, optional Set to True if the integrand is not vectorized. Default is False. If True, the integrand will be called for each point of the grid separately without vectorization. This implies diff --git a/src/grid/ode.py b/src/grid/ode.py index a5219bd8..9e34271b 100644 --- a/src/grid/ode.py +++ b/src/grid/ode.py @@ -512,7 +512,7 @@ def _evaluate_coeffs_on_points(x: np.ndarray, coeff: list | np.ndarray): ---------- x : ndarray(N,) Points of the independent variable/domain. - coeffs : list[callable or float] or ndarray(K + 1,) + coeff : list[callable or float] or ndarray(K + 1,) Coefficients :math:`a_k` of each term :math:`\frac{d^k y(x)}{d x^k}` ordered from 0 to K. Each coefficient can either be a callable function :math:`a_k(x)` or a constant number :math:`a_k`. diff --git a/src/grid/rtransform.py b/src/grid/rtransform.py index eb8b6dec..a4d5cdd3 100644 --- a/src/grid/rtransform.py +++ b/src/grid/rtransform.py @@ -1957,7 +1957,7 @@ def deriv3(self, x: np.ndarray): Parameters ---------- - array: np.ndarray(N,) + x: np.ndarray(N,) One dimensional array in :math:`[-1,1]`\. Returns