The AffAtom class.
This virtual class represents an affine atomic expression.
## S4 method for signature 'AffAtom' allow_complex(object) ## S4 method for signature 'AffAtom' sign_from_args(object) ## S4 method for signature 'AffAtom' is_imag(object) ## S4 method for signature 'AffAtom' is_complex(object) ## S4 method for signature 'AffAtom' is_atom_convex(object) ## S4 method for signature 'AffAtom' is_atom_concave(object) ## S4 method for signature 'AffAtom' is_incr(object, idx) ## S4 method for signature 'AffAtom' is_decr(object, idx) ## S4 method for signature 'AffAtom' is_quadratic(object) ## S4 method for signature 'AffAtom' is_qpwa(object) ## S4 method for signature 'AffAtom' is_pwl(object) ## S4 method for signature 'AffAtom' is_psd(object) ## S4 method for signature 'AffAtom' is_nsd(object) ## S4 method for signature 'AffAtom' .grad(object, values)
object |
An AffAtom object. |
idx |
An index into the atom. |
values |
A list of numeric values for the arguments |
allow_complex
: Does the atom handle complex numbers?
sign_from_args
: The sign of the atom.
is_imag
: Is the atom imaginary?
is_complex
: Is the atom complex valued?
is_atom_convex
: The atom is convex.
is_atom_concave
: The atom is concave.
is_incr
: The atom is weakly increasing in every argument.
is_decr
: The atom is not weakly decreasing in any argument.
is_quadratic
: Is every argument quadratic?
is_qpwa
: Is every argument quadratic of piecewise affine?
is_pwl
: Is every argument piecewise linear?
is_psd
: Is the atom a positive semidefinite matrix?
is_nsd
: Is the atom a negative semidefinite matrix?
.grad
: Gives the (sub/super)gradient of the atom w.r.t. each variable
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.