The SymbolicQuadForm class.
SymbolicQuadForm(x, P, expr)# S4 method for SymbolicQuadForm
dim_from_args(object)
# S4 method for SymbolicQuadForm
sign_from_args(object)
# S4 method for SymbolicQuadForm
get_data(object)
# S4 method for SymbolicQuadForm
is_atom_convex(object)
# S4 method for SymbolicQuadForm
is_atom_concave(object)
# S4 method for SymbolicQuadForm
is_incr(object, idx)
# S4 method for SymbolicQuadForm
is_decr(object, idx)
# S4 method for SymbolicQuadForm
is_quadratic(object)
# S4 method for SymbolicQuadForm
.grad(object, values)
An index into the atom.
A list of numeric values for the arguments
dim_from_args
: The dimensions of the atom.
sign_from_args
: The sign (is positive, is negative) of the atom.
get_data
: The original expression.
is_atom_convex
: Is the original expression convex?
is_atom_concave
: Is the original expression concave?
is_incr
: Is the original expression weakly increasing in argument idx
?
is_decr
: Is the original expression weakly decreasing in argument idx
?
is_quadratic
: The atom is quadratic.
.grad
: Gives the (sub/super)gradient of the atom w.r.t. each variable