This virtual class represents an affine atomic expression.
# S4 method for AffAtom
sign_from_args(object)# S4 method for AffAtom
is_atom_convex(object)
# S4 method for AffAtom
is_atom_concave(object)
# S4 method for AffAtom
is_incr(object, idx)
# S4 method for AffAtom
is_decr(object, idx)
# S4 method for AffAtom
is_quadratic(object)
# S4 method for AffAtom
is_pwl(object)
An index into the atom.
sign_from_args
: The sign of the atom.
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_pwl
: Is every argument piecewise linear?