Learn R Programming

CVXR (version 0.99-7)

BinaryOperator-class: The BinaryOperator class.

Description

This base class represents expressions involving binary operators.

Usage

# S4 method for BinaryOperator
to_numeric(object, values)

# S4 method for BinaryOperator sign_from_args(object)

Arguments

object

A '>BinaryOperator object.

values

A list of arguments to the atom.

Methods (by generic)

  • to_numeric: Apply the binary operator to the values.

  • sign_from_args: The sign of the expression.

Slots

lh_exp

The '>Expression on the left-hand side of the operator.

rh_exp

The '>Expression on the right-hand side of the operator.

op_name

A character string indicating the binary operation.