Skip to content
Snippets Groups Projects
Commit 7fd2dca7 authored by Martin Bauer's avatar Martin Bauer
Browse files

Small documentation improvements

parent 2fe0a87a
Branches
Tags
No related merge requests found
...@@ -294,9 +294,10 @@ def discrete_moment(func, moment, stencil): ...@@ -294,9 +294,10 @@ def discrete_moment(func, moment, stencil):
where :math:`p(d)` is the moment polynomial where :math:`x, y, z` have been replaced with the components of the where :math:`p(d)` is the moment polynomial where :math:`x, y, z` have been replaced with the components of the
stencil direction, and :math:`f_i` is the i'th entry in the passed function sequence stencil direction, and :math:`f_i` is the i'th entry in the passed function sequence
:param func: list of distribution functions for each direction Args:
:param moment: can either be a exponent tuple, or a sympy polynomial expression func: list of distribution functions for each direction
:param stencil: sequence of directions moment: can either be a exponent tuple, or a sympy polynomial expression
stencil: sequence of directions
""" """
assert len(stencil) == len(func) assert len(stencil) == len(func)
res = 0 res = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment