N() (alias evalf()) evaluates an expression to a floating point
number, as SymPy's evalf: arbitrary precision binary arithmetic on gmp
integers that tracks the accuracy of the real and imaginary parts and
raises the working precision where terms cancel. Functions without an
arbitrary precision evaluator fall back to R double precision, capped at
15 digits.
Arguments
- e
A
symexpression.- digits
Significant digits.
- subs
Named list of values for symbols.
- maxn
Maximum working precision in digits.
- chop
TRUEto replace tiny real or imaginary parts by exact zeros, or a number giving the size of a tiny part.- strict
TRUEto raise an error when a part cannot be evaluated to full accuracy withinmaxn.- quad
Quadrature method for integrals (
NULLfor tanh-sinh).- verbose
TRUEto print the intermediate results.