LambdaSumLargest-class | R Documentation |
This class represents the sum of the k
largest eigenvalues of a matrix.
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)
A |
An Expression or numeric matrix. |
k |
A positive integer. |
object |
A LambdaSumLargest object. |
values |
A list of numeric values for the arguments |
allow_complex(LambdaSumLargest)
: Does the atom handle complex numbers?
to_numeric(LambdaSumLargest)
: Returns the largest eigenvalue of A
, which must be symmetric.
validate_args(LambdaSumLargest)
: Verify that the argument A
is square.
get_data(LambdaSumLargest)
: Returns the parameter k
.
.grad(LambdaSumLargest)
: Gives the (sub/super)gradient of the atom w.r.t. each variable
k
A positive integer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.