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

ceiling(RObject) -- ceiling of an R object

Description

Round each element of x up to the nearest integer, calling R's ceiling.

i1 : x = RObject exp 1

o1 = [1] 2.718282

o1 : RObject of type double
i2 : ceiling x

o2 = [1] 3

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:28:0.