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.


anqif/cvxr documentation built on Feb. 1, 2024, 5:42 p.m.