UnaryOperator-class: The UnaryOperator class.

UnaryOperator-classR Documentation

The UnaryOperator class.

Description

This base class represents expressions involving unary operators.

Usage

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

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

Arguments

x, object

A UnaryOperator object.

values

A list of arguments to the atom.

Methods (by generic)

  • name(UnaryOperator): Returns the expression in string form.

  • to_numeric(UnaryOperator): Applies the unary operator to the value.

Slots

expr

The Expression that is being operated upon.

op_name

A character string indicating the unary operation.


CVXR documentation built on June 27, 2024, 5:11 p.m.