Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

BinaryOperator-class

The BinaryOperator class.


Description

This base class represents expressions involving binary operators.

Usage

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

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

## S4 method for signature 'BinaryOperator'
sign_from_args(object)

## S4 method for signature 'BinaryOperator'
is_imag(object)

## S4 method for signature 'BinaryOperator'
is_complex(object)

Arguments

x, object

A BinaryOperator object.

values

A list of arguments to the atom.

Methods (by generic)

  • name: Returns the name of the BinaryOperator object.

  • to_numeric: Apply the binary operator to the values.

  • sign_from_args: Default to rule for multiplication.

  • is_imag: Is the expression imaginary?

  • is_complex: Is the expression complex valued?

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.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.