R/116_atoms_length.R
length_expr.Rd
Returns the index of the last nonzero element of a vector (1-based). This atom is quasiconvex but NOT convex, so it can only be used in DQCP problems (solved with qcp = TRUE).
qcp = TRUE
length_expr(x)
A CVXR vector expression.
A Length expression (scalar).
Length
ceil_expr, floor_expr
ceil_expr
floor_expr