Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/grid/ngrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Comment on lines +179 to 182
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
Expand Down
2 changes: 1 addition & 1 deletion src/grid/ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion src/grid/rtransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading