Macaulay2 » Documentation
Packages » RInterface :: logarithmic and exponential functions on RObjects
next | previous | forward | backward | up | index | toc

logarithmic and exponential functions on RObjects -- logarithmic and exponential functions on R objects

These functions do the expected thing when passed an RObject.

i1 : exp RObject 1

o1 = [1] 2.718282

o1 : RObject of type double
i2 : log RObject exp 2

o2 = [1] 2

o2 : RObject of type double