This class represents the Perron-Frobenius eigenvalue of a positive matrix.
PfEigenvalue(X)
# S4 method for class 'PfEigenvalue'
name(x)
# S4 method for class 'PfEigenvalue'
to_numeric(object, values)
# S4 method for class 'PfEigenvalue'
dim_from_args(object)
# S4 method for class 'PfEigenvalue'
sign_from_args(object)
# S4 method for class 'PfEigenvalue'
is_atom_convex(object)
# S4 method for class 'PfEigenvalue'
is_atom_concave(object)
# S4 method for class 'PfEigenvalue'
is_atom_log_log_convex(object)
# S4 method for class 'PfEigenvalue'
is_atom_log_log_concave(object)
# S4 method for class 'PfEigenvalue'
is_incr(object, idx)
# S4 method for class 'PfEigenvalue'
is_decr(object, idx)
# S4 method for class 'PfEigenvalue'
.grad(object, values)An Expression or numeric matrix.
A PfEigenvalue object.
A list of numeric values for the arguments
An index into the atom.
name(PfEigenvalue): The name and arguments of the atom.
to_numeric(PfEigenvalue): Returns the Perron-Frobenius eigenvalue of X.
dim_from_args(PfEigenvalue): The dimensions of the atom.
sign_from_args(PfEigenvalue): Returns the sign (is positive, is negative) of the atom.
is_atom_convex(PfEigenvalue): Is the atom convex?
is_atom_concave(PfEigenvalue): Is the atom concave?
is_atom_log_log_convex(PfEigenvalue): Is the atom log-log convex?
is_atom_log_log_concave(PfEigenvalue): Is the atom log-log concave?
is_incr(PfEigenvalue): Is the atom weakly increasing in the argument idx?
is_decr(PfEigenvalue): Is the atom weakly decreasing in the argument idx?
.grad(PfEigenvalue): Gives the (sub/super)gradient of the atom w.r.t. each variable
XAn Expression or numeric matrix.