diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-01-22 23:53:39 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-01-31 12:09:47 +0100 |
commit | 41e5e28daf0a0f7ba258e054ab7e76c8a94c305e (patch) | |
tree | 7e712eccc62e3e052f1d475d2ef2a079c7d06493 | |
parent | d99bc8475232ef7f72042c7a7328b77cc3771fa4 (diff) | |
download | ffmpeg-41e5e28daf0a0f7ba258e054ab7e76c8a94c305e.tar.gz |
doc/eval: fix/extend documentation for taylor() function
-rw-r--r-- | doc/eval.texi | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/doc/eval.texi b/doc/eval.texi index 37ca137b96..bf4274ca4c 100644 --- a/doc/eval.texi +++ b/doc/eval.texi @@ -163,13 +163,20 @@ evaluation of @var{y}, return 0 otherwise. Evaluate @var{x}, and if the result is zero return the evaluation result of @var{y}, otherwise the evaluation result of @var{z}. -@item taylor(expr, x) taylor(expr, x, id) -Evaluate a taylor series at x. -expr represents the LD(id)-th derivates of f(x) at 0. If id is not specified -then 0 is assumed. -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. +@item taylor(expr, x) +@item taylor(expr, x, id) +Evaluate a Taylor series at @var{x}, given an expression representing +the @code{ld(id)}-th derivative of a function at 0. + +When the series does not converge the result is undefined. + +@var{ld(id)} is used to represent the derivative order in @var{expr}, +which means that the given expression will be evaluated multiple times +with various input values that the expression can access through +@code{ld(id)}. If @var{id} is not specified then 0 is assumed. + +Note, when you have the derivatives at y instead of 0, +@code{taylor(expr, x-y)} can be used. @item time(0) Return the current (wallclock) time in seconds. |