Learn R Programming

CVXR (version 0.99-7)

sign_from_args: Atom Sign

Description

Determine the sign of an atom based on its arguments.

Usage

sign_from_args(object)

# S4 method for Atom sign_from_args(object)

Arguments

object

An '>Atom object.

Value

A logical vector c(is positive, is negative) indicating the sign of the atom.