Learn R Programming

CVXR (version 1.9.1)

floor_expr: Elementwise Floor

Description

Returns the floor (largest 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).

Usage

floor_expr(x)

Value

A Floor expression.

Arguments

x

A CVXR expression.

See Also

ceil_expr