From 923092697a6600bf18cf881f821068379f5a42d5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 22 Feb 2012 17:21:04 +0100 Subject: eval: Allow specifying the variable id. Reviewed-by: Nicolas George Signed-off-by: Michael Niedermayer --- doc/eval.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/eval.texi b/doc/eval.texi index b481bfe..c4a8ac5 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. -- cgit v1.1