LogDet-class function

The LogDet class.

The LogDet class.

The natural logarithm of the determinant of a matrix, logdet(A)\log\det(A). class

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 matrix A. This is the sum of logs of the eigenvalues and is equivalent to the nuclear norm of the matrix logarithm of A.
  • validate_args(LogDet): Check that A 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.
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07