Learn R Programming

CVXR (version 1.9.1)

sum_signs: Sign of a sum of expressions

Description

Determines whether the sum of a list of expressions is nonnegative, nonpositive, or unknown.

Usage

sum_signs(exprs)

Value

Named logical vector c(is_nonneg, is_nonpos)

Arguments

exprs

List of Expression objects