[FFmpeg-devel] [PATCH] doc/eval: fix/extend documentation for taylor() function

Stefano Sabatini stefasab at gmail.com
Tue Jan 22 23:54:09 CET 2013


---
 doc/eval.texi |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/doc/eval.texi b/doc/eval.texi
index 1ea89d6..6c3eaef 100644
--- a/doc/eval.texi
+++ b/doc/eval.texi
@@ -155,13 +155,18 @@ the evaluation of @var{y}, return 0 otherwise.
 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) 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.
+ at item taylor(expr, x)
+ at item taylor(expr, x, id)
+Evaluate a Taylor series at @var{x}.
+
+ at var{expr} computes the ld(@var{id})-th derivative of f(x) at 0. The
+value stored in ld(@var{id}) is set to 0 and increased by 1 at each
+iteration until the computation converges. If @var{id} is not
+specified then 0 is assumed.
+
+Note, when you have the derivatives at y instead of 0,
+ at code{taylor(expr, x-y)} can be used. When the series does not
+converge the result is undefined.
 
 @item root(expr, max)
 Finds x where f(x)=0 in the interval 0..max.
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list