Macaulay2 » Documentation
Packages » RInterface » RObject » floor(RObject)
next | previous | forward | backward | up | index | toc

floor(RObject) -- floor of an R object

Description

Round each element of x down to the nearest integer, calling R's floor.

i1 : x = RObject exp 1

o1 = [1] 2.718282

o1 : RObject of type double
i2 : floor x

o2 = [1] 2

o2 : RObject of type double

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/RInterface/doc/rounding.m2:52:0.