Learn R Programming

CVXR (version 1.0-14)

sign,Expression-method: Sign of Expression

Description

The sign of an expression.

Usage

# S4 method for Expression
sign(x)

Value

A string indicating the sign of the expression, either "ZERO", "NONNEGATIVE", "NONPOSITIVE", or "UNKNOWN".

Arguments

x

An Expression object.