[FFmpeg-devel] [PATCH] eval: Add taylor series evaluation support.

Stefano Sabatini stefasab at gmail.com
Sat Feb 25 00:20:00 CET 2012


On date Tuesday 2012-02-21 20:48:20 +0100, Michael Niedermayer encoded:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  doc/eval.texi    |    7 +++++++
>  libavutil/eval.c |   20 +++++++++++++++++++-
>  2 files changed, 26 insertions(+), 1 deletions(-)
> 
> diff --git a/doc/eval.texi b/doc/eval.texi
> index 92fdc6d..b481bfe 100644
> --- a/doc/eval.texi
> +++ b/doc/eval.texi
> @@ -106,6 +106,13 @@ the evaluation of @var{y}, return 0 otherwise.
>  @item ifnot(x, y)
>  Evaluate @var{x}, and if the result is zero return the result of the
>  evaluation of @var{y}, return 0 otherwise.
> +
> + at item taylor(expr, x)
> +Evaluate a taylor series at x.

> +expr represents the LD(0)-th derivates of f(x) at 0.

Couldn't find the meaning of "LD(0)-th" on the Internet, I'll push a
more explicit variant (together with minor typo fixes) if you can
explain.

> +note, when you have the derivatives at y instead of 0
> +taylor(expr, x-y) can be used
> +When the series does not converge the results are undefined.
>  @end table

[...]
-- 
FFmpeg = Fanciful and Friendly Mind-dumbing Powered Ecstatic Gadget


More information about the ffmpeg-devel mailing list