The Abs class.
This class represents the elementwise absolute value. class
Abs(x) ## S4 method for signature 'Abs' to_numeric(object, values) ## S4 method for signature 'Abs' allow_complex(object) ## S4 method for signature 'Abs' sign_from_args(object) ## S4 method for signature 'Abs' is_atom_convex(object) ## S4 method for signature 'Abs' is_atom_concave(object) ## S4 method for signature 'Abs' is_incr(object, idx) ## S4 method for signature 'Abs' is_decr(object, idx) ## S4 method for signature 'Abs' is_pwl(object)
x
: An Expression object.object
: An Abs object.values
: A list of arguments to the atom.idx
: An index into the atom.to_numeric(Abs)
: The elementwise absolute value of the input.allow_complex(Abs)
: Does the atom handle complex numbers?sign_from_args(Abs)
: The atom is positive.is_atom_convex(Abs)
: The atom is convex.is_atom_concave(Abs)
: The atom is not concave.is_incr(Abs)
: A logical value indicating whether the atom is weakly increasing.is_decr(Abs)
: A logical value indicating whether the atom is weakly decreasing.is_pwl(Abs)
: Is x
piecewise linear?x
: An Expression object.