+,Expression,missing-method {CVXR}R Documentation

The AddExpression class.

Description

This class represents the sum of any number of expressions.

Usage

## S4 method for signature 'Expression,missing'
e1 + e2

## S4 method for signature 'Expression,Expression'
e1 + e2

## S4 method for signature 'Expression,ConstVal'
e1 + e2

## S4 method for signature 'ConstVal,Expression'
e1 + e2

## S4 method for signature 'AddExpression'
dim_from_args(object)

## S4 method for signature 'AddExpression'
name(x)

## S4 method for signature 'AddExpression'
to_numeric(object, values)

## S4 method for signature 'AddExpression'
is_atom_log_log_convex(object)

## S4 method for signature 'AddExpression'
is_atom_log_log_concave(object)

## S4 method for signature 'AddExpression'
is_symmetric(object)

## S4 method for signature 'AddExpression'
is_hermitian(object)

## S4 method for signature 'AddExpression'
copy(object, args = NULL, id_objects = list())

## S4 method for signature 'AddExpression'
graph_implementation(object, arg_objs, dim, data = NA_real_)

Arguments

e1, e2

The Expression objects or numeric constants to add.

x, object

An AddExpression object.

values

A list of arguments to the atom.

args

An optional list of arguments to reconstruct the atom. Default is to use current args of the atom.

id_objects

Currently unused.

arg_objs

A list of linear expressions for each argument.

dim

A vector representing the dimensions of the resulting expression.

data

A list of additional data required by the atom.

Methods (by generic)

Slots

arg_groups

A list of Expressions and numeric data.frame, matrix, or vector objects.


[Package CVXR version 1.0-14 Index]