sign_from_args {CVXR}R Documentation

Atom Sign

Description

Determine the sign of an atom based on its arguments.

Usage

sign_from_args(object)

## S4 method for signature '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.


[Package CVXR version 1.0-12 Index]