Learn R Programming

CVXR (version 0.99-7)

LogDet-class: The LogDet class.

Description

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

Usage

LogDet(A)

# S4 method for LogDet validate_args(object)

# S4 method for LogDet to_numeric(object, values)

# S4 method for LogDet size_from_args(object)

# S4 method for LogDet sign_from_args(object)

# S4 method for LogDet is_atom_convex(object)

# S4 method for LogDet is_atom_concave(object)

# S4 method for LogDet is_incr(object, idx)

# S4 method for LogDet is_decr(object, idx)

# S4 method for LogDet graph_implementation(object, arg_objs, size, data = NA_real_)

Arguments

A

An '>Expression or numeric matrix.

object

A '>LogDet object.

values

A list of arguments to the atom.

idx

An index into the atom.

arg_objs

A list of linear expressions for each argument.

size

A vector with two elements representing the size of the resulting expression.

data

A list of additional data required by the atom.

Methods (by generic)

  • validate_args: Check that A is square.

  • to_numeric: 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.

  • size_from_args: The atom is a scalar.

  • sign_from_args: The atom is non-negative.

  • is_atom_convex: The atom is not convex.

  • is_atom_concave: The atom is concave.

  • is_incr: The atom is not monotonic in any argument.

  • is_decr: The atom is not monotonic in any argument.

  • graph_implementation: The graph implementation of the atom.

Slots

A

An '>Expression or numeric matrix.