]> git.sesse.net Git - ffmpeg/blobdiff - doc/eval.texi
eval: Add taylor series evaluation support.
[ffmpeg] / doc / eval.texi
index 95e9df5a80ee1e9eca282da2cf11a07f8181b946..b481bfe17f3a00499bb9fac3b88e00874f171f25 100644 (file)
@@ -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.
+
+@item taylor(expr, x)
+Evaluate a taylor series at x.
+expr represents the LD(0)-th derivates of f(x) at 0.
+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
 
 The following constants are available:
@@ -118,7 +125,8 @@ exp(1) (Euler's number), approximately 2.718
 golden ratio (1+sqrt(5))/2, approximately 1.618
 @end table
 
-Note that:
+Assuming that an expression is considered "true" if it has a non-zero
+value, note that:
 
 @code{*} works like AND