View source: R/086_atoms_elementwise_ceil.R
| ceil_expr | R Documentation |
Returns the ceiling (smallest integer >= x) of each element.
This atom is quasiconvex and quasiconcave but NOT convex or concave,
so it can only be used in DQCP problems (solved with qcp = TRUE).
As in CVXPY, its value rounds x to 4 decimal places first, so
ceiling(3e-10) of an expression is 0, not 1.
ceil_expr(x)
x |
A CVXR expression. |
A Ceil expression.
floor_expr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.