![]() |
SOPT
Sparse OPTimisation
|
Proximal for indicator function of L2 ball. More...
#include <proximal.h>
Public Types | |
using | Real = typename real_type< T >::type |
Public Member Functions | |
L2Ball (Real epsilon) | |
Constructs an L2 ball proximal of size epsilon. More... | |
void | operator() (Vector< T > &out, typename real_type< T >::type, Vector< T > const &x) const |
Calls proximal function. More... | |
void | operator() (Vector< T > &out, Vector< T > const &x) const |
Calls proximal function. More... | |
template<typename T0 > | |
EnveloppeExpression< L2Ball, T0 > | operator() (Real const &, Eigen::MatrixBase< T0 > const &x) const |
Lazy version. More... | |
template<typename T0 > | |
EnveloppeExpression< L2Ball, T0 > | operator() (Eigen::MatrixBase< T0 > const &x) const |
Lazy version. More... | |
Real | epsilon () const |
Size of the ball. More... | |
L2Ball< T > & | epsilon (Real eps) |
Size of the ball. More... | |
Proximal for indicator function of L2 ball.
Definition at line 182 of file proximal.h.
using sopt::proximal::L2Ball< T >::Real = typename real_type<T>::type |
Definition at line 184 of file proximal.h.
|
inline |
|
inline |
Size of the ball.
Definition at line 222 of file proximal.h.
Referenced by sopt::proximal::WeightedL2Ball< T >::epsilon(), sopt::proximal::L2Ball< T >::operator()(), and TEST_CASE().
|
inline |
Size of the ball.
Definition at line 224 of file proximal.h.
|
inline |
|
inline |
|
inline |
Calls proximal function.
Definition at line 194 of file proximal.h.
|
inline |
Calls proximal function.
Definition at line 198 of file proximal.h.
References sopt::proximal::L2Ball< T >::epsilon(), and sopt::proximal::l2_norm().