Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LambdaMax-class

The LambdaMax class.


Description

The maximum eigenvalue of a matrix, λ_{\max}(A).

Usage

LambdaMax(A)

## S4 method for signature 'LambdaMax'
to_numeric(object, values)

## S4 method for signature 'LambdaMax'
.domain(object)

## S4 method for signature 'LambdaMax'
.grad(object, values)

## S4 method for signature 'LambdaMax'
validate_args(object)

## S4 method for signature 'LambdaMax'
dim_from_args(object)

## S4 method for signature 'LambdaMax'
sign_from_args(object)

## S4 method for signature 'LambdaMax'
is_atom_convex(object)

## S4 method for signature 'LambdaMax'
is_atom_concave(object)

## S4 method for signature 'LambdaMax'
is_incr(object, idx)

## S4 method for signature 'LambdaMax'
is_decr(object, idx)

Arguments

A

An Expression or numeric matrix.

object

A LambdaMax object.

values

A list of arguments to the atom.

idx

An index into the atom.

Methods (by generic)

  • to_numeric: The largest eigenvalue of A. Requires that A be symmetric.

  • .domain: Returns the constraints describing the domain of the atom.

  • .grad: Gives the (sub/super)gradient of the atom with respect to each argument. Matrix expressions are vectorized, so the gradient is a matrix.

  • validate_args: Check that A is square.

  • dim_from_args: The atom is a scalar.

  • sign_from_args: The sign of the atom is unknown.

  • is_atom_convex: The atom is convex.

  • is_atom_concave: The atom is not concave.

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

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

Slots

A

An Expression or numeric matrix.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.