LogDet-class {CVXR} | R Documentation |
The LogDet class.
Description
The natural logarithm of the determinant of a matrix, \log\det(A)
.
Usage
LogDet(A)
## S4 method for signature 'LogDet'
to_numeric(object, values)
## S4 method for signature 'LogDet'
validate_args(object)
## S4 method for signature 'LogDet'
dim_from_args(object)
## S4 method for signature 'LogDet'
sign_from_args(object)
## S4 method for signature 'LogDet'
is_atom_convex(object)
## S4 method for signature 'LogDet'
is_atom_concave(object)
## S4 method for signature 'LogDet'
is_incr(object, idx)
## S4 method for signature 'LogDet'
is_decr(object, idx)
## S4 method for signature 'LogDet'
.grad(object, values)
## S4 method for signature 'LogDet'
.domain(object)
Arguments
A |
An Expression or numeric matrix. |
object |
A LogDet object. |
values |
A list of numeric values for the arguments |
idx |
An index into the atom. |
Methods (by generic)
-
to_numeric(LogDet)
: The log-determinant of SDP matrixA
. This is the sum of logs of the eigenvalues and is equivalent to the nuclear norm of the matrix logarithm ofA
. -
validate_args(LogDet)
: Check thatA
is square. -
dim_from_args(LogDet)
: The atom is a scalar. -
sign_from_args(LogDet)
: The atom is non-negative. -
is_atom_convex(LogDet)
: The atom is not convex. -
is_atom_concave(LogDet)
: The atom is concave. -
is_incr(LogDet)
: The atom is not monotonic in any argument. -
is_decr(LogDet)
: The atom is not monotonic in any argument. -
.grad(LogDet)
: Gives the (sub/super)gradient of the atom w.r.t. each variable -
.domain(LogDet)
: Returns constraints describing the domain of the node
Slots
A
An Expression or numeric matrix.