slope 6.1.1
Loading...
Searching...
No Matches
slope::SortedL1Norm Class Reference

Class representing the Sorted L1 Norm. More...

#include <sorted_l1_norm.h>

Public Member Functions

double eval (const Eigen::VectorXd &beta, const Eigen::ArrayXd &lambda) const
 Evaluates the Sorted L1 Norm.
 
Eigen::MatrixXd prox (const Eigen::VectorXd &beta, const Eigen::ArrayXd &lambda) const
 Computes the proximal operator of the Sorted L1 Norm.
 
double dualNorm (const Eigen::VectorXd &a, const Eigen::ArrayXd &lambda) const
 Computes the dual norm of a vector.
 

Detailed Description

Class representing the Sorted L1 Norm.

Definition at line 15 of file sorted_l1_norm.h.

Member Function Documentation

◆ dualNorm()

double slope::SortedL1Norm::dualNorm ( const Eigen::VectorXd &  a,
const Eigen::ArrayXd &  lambda 
) const

Computes the dual norm of a vector.

Parameters
aThe vector.
lambdaThe regulariation weights.
Returns
The dual norm.

◆ eval()

double slope::SortedL1Norm::eval ( const Eigen::VectorXd &  beta,
const Eigen::ArrayXd &  lambda 
) const

Evaluates the Sorted L1 Norm.

Parameters
betaThe beta parameter.
lambdaThe regularization weights.
Returns
The evaluation result.

◆ prox()

Eigen::MatrixXd slope::SortedL1Norm::prox ( const Eigen::VectorXd &  beta,
const Eigen::ArrayXd &  lambda 
) const

Computes the proximal operator of the Sorted L1 Norm.

Parameters
betaThe beta parameter.
lambdaThe regulariation weights.
Returns
The proximal operator result.

The documentation for this class was generated from the following file: