From 7fd2dca7e84a9674a8708254fc51830006dbccb3 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Wed, 22 Aug 2018 15:07:11 +0200 Subject: [PATCH] Small documentation improvements --- moments.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/moments.py b/moments.py index ae824615..85c4a1e1 100644 --- a/moments.py +++ b/moments.py @@ -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 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 - :param moment: can either be a exponent tuple, or a sympy polynomial expression - :param stencil: sequence of directions + Args: + func: list of distribution functions for each direction + moment: can either be a exponent tuple, or a sympy polynomial expression + stencil: sequence of directions """ assert len(stencil) == len(func) res = 0 -- GitLab