floor_expr: Elementwise Floor

View source: R/076_atoms_elementwise_ceil.R

floor_exprR Documentation

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)

Arguments

x

A CVXR expression.

Value

A Floor expression.

See Also

ceil_expr


CVXR documentation built on March 6, 2026, 9:10 a.m.