summaryrefslogtreecommitdiff
path: root/doc/eval.texi
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-22 17:21:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-26 22:12:17 +0100
commit923092697a6600bf18cf881f821068379f5a42d5 (patch)
treeb99402dd996a20f6249eaf316cb9a2a8a7b044e4 /doc/eval.texi
parent02670762d25fd0b527534ff31fac193a3ea2109e (diff)
eval: Allow specifying the variable id.
Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/eval.texi')
-rw-r--r--doc/eval.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/eval.texi b/doc/eval.texi
index b481bfe17f..c4a8ac564f 100644
--- a/doc/eval.texi
+++ b/doc/eval.texi
@@ -107,9 +107,10 @@ 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.
-@item taylor(expr, x)
+@item taylor(expr, x) taylor(expr, x, id)
Evaluate a taylor series at x.
-expr represents the LD(0)-th derivates of f(x) at 0.
+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.