sign,Expression-method {CVXR}R Documentation

Sign of Expression

Description

The sign of an expression.

Usage

## S4 method for signature 'Expression'
sign(x)

Arguments

x

An Expression object.

Value

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


[Package CVXR version 1.0-12 Index]