Learn R Programming

CVXR (version 1.0-14)

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)

Value

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

Arguments

object

An Atom object.