Learn R Programming

CVXR (version 0.99-7)

RMulExpression-class: The RMulExpression class.

Description

This class represents the matrix product of an expression with a constant on the right.

Usage

# S4 method for RMulExpression
is_incr(object, idx)

# S4 method for RMulExpression is_decr(object, idx)

# S4 method for RMulExpression graph_implementation(object, arg_objs, size, data = NA_real_)

Arguments

object

A '>RMulExpression object.

idx

An index into the atom.

arg_objs

A list of linear expressions for each argument.

size

A vector with two elements representing the size of the resulting expression.

data

A list of additional data required by the atom.

Methods (by generic)

  • is_incr: Is the right-hand expression positive?

  • is_decr: Is the right-hand expression negative?

  • graph_implementation: The graph implementation of the expression.

See Also

'>MulExpression