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

UnaryOperator-class

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: Returns the expression in string form.

  • to_numeric: 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

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.