diff options
Diffstat (limited to 'doc/eval.texi')
-rw-r--r-- | doc/eval.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/eval.texi b/doc/eval.texi index a1faff6e16..f691821d1a 100644 --- a/doc/eval.texi +++ b/doc/eval.texi @@ -151,10 +151,18 @@ Return the greatest common divisor of @var{x} and @var{y}. If both @var{x} and Evaluate @var{x}, and if the result is non-zero return the result of the evaluation of @var{y}, return 0 otherwise. +@item if(x, y, z) +Evaluate @var{x}, and if the result is non-zero return the evaluation +result of @var{y}, otherwise the evaluation result of @var{z}. + @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 ifnot(x, y, z) +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 |