This class represents the product of two affine expressions.
AffineProd(x, y)# S4 method for AffineProd
validate_args(object)
# S4 method for AffineProd
to_numeric(object, values)
# S4 method for AffineProd
size_from_args(object)
# S4 method for AffineProd
sign_from_args(object)
# S4 method for AffineProd
is_atom_convex(object)
# S4 method for AffineProd
is_atom_concave(object)
# S4 method for AffineProd
is_incr(object, idx)
# S4 method for AffineProd
is_decr(object, idx)
# S4 method for AffineProd
is_quadratic(object)
A list of arguments to the atom.
An index into the atom.
validate_args
: Check dimensions of arguments and linearity.
to_numeric
: The product of two affine expressions.
size_from_args
: The size of the atom.
sign_from_args
: Default to rules for times.
is_atom_convex
: Affine times affine is not convex.
is_atom_concave
: Affine times affine is not concave.
is_incr
: A logical value indicating whether the atom is weakly increasing in idx
.
is_decr
: A logical value indicating whether the atom is weakly decreasing in idx
.
is_quadratic
: The affine product is always quadratic.