Imag-class {CVXR} | R Documentation |
The Imag class.
Description
This class represents the imaginary part of an expression.
Usage
Imag(expr)
## S4 method for signature 'Imag'
to_numeric(object, values)
## S4 method for signature 'Imag'
dim_from_args(object)
## S4 method for signature 'Imag'
is_imag(object)
## S4 method for signature 'Imag'
is_complex(object)
## S4 method for signature 'Imag'
is_symmetric(object)
Arguments
expr |
An Expression representing a vector or matrix. |
object |
An Imag object. |
values |
A list of arguments to the atom. |
Methods (by generic)
-
to_numeric(Imag)
: The imaginary part of the given value. -
dim_from_args(Imag)
: The dimensions of the atom. -
is_imag(Imag)
: Is the atom imaginary? -
is_complex(Imag)
: Is the atom complex valued? -
is_symmetric(Imag)
: Is the atom symmetric?
Slots
expr
An Expression representing a vector or matrix.
[Package CVXR version 1.0-14 Index]