This class represents the elementwise natural exponential \(e^x\).
Exp(x)
# S4 method for class 'Exp'
to_numeric(object, values)
# S4 method for class 'Exp'
sign_from_args(object)
# S4 method for class 'Exp'
is_atom_convex(object)
# S4 method for class 'Exp'
is_atom_concave(object)
# S4 method for class 'Exp'
is_atom_log_log_convex(object)
# S4 method for class 'Exp'
is_atom_log_log_concave(object)
# S4 method for class 'Exp'
is_incr(object, idx)
# S4 method for class 'Exp'
is_decr(object, idx)
# S4 method for class 'Exp'
.grad(object, values)
An Expression object.
An Exp object.
A list of numeric values for the arguments
An index into the atom.
to_numeric(Exp)
: The matrix with each element exponentiated.
sign_from_args(Exp)
: The atom is positive.
is_atom_convex(Exp)
: The atom is convex.
is_atom_concave(Exp)
: The atom is not concave.
is_atom_log_log_convex(Exp)
: Is the atom log-log convex?
is_atom_log_log_concave(Exp)
: Is the atom log-log concave?
is_incr(Exp)
: The atom is weakly increasing.
is_decr(Exp)
: The atom is not weakly decreasing.
.grad(Exp)
: Gives the (sub/super)gradient of the atom w.r.t. each variable
x
An Expression object.