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

LambdaSumLargest-class

The LambdaSumLargest class.


Description

This class represents the sum of the k largest eigenvalues of a matrix.

Usage

LambdaSumLargest(A, k)

## S4 method for signature 'LambdaSumLargest'
allow_complex(object)

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

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

## S4 method for signature 'LambdaSumLargest'
get_data(object)

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

Arguments

A

An Expression or numeric matrix.

k

A positive integer.

object

A LambdaSumLargest object.

values

A list of numeric values for the arguments

Methods (by generic)

  • allow_complex: Does the atom handle complex numbers?

  • to_numeric: Returns the largest eigenvalue of A, which must be symmetric.

  • validate_args: Verify that the argument A is square.

  • get_data: Returns the parameter k.

  • .grad: Gives the (sub/super)gradient of the atom w.r.t. each variable

Slots

k

A positive integer.


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.