UnaryOperator-class {CVXR} | R 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.
[Package CVXR version 1.0-14 Index]