![]() |
SOPT
Sparse OPTimisation
|
#include <catch2/catch_all.hpp>
#include <numeric>
#include <random>
#include <utility>
#include "sopt/l1_proximal.h"
#include "sopt/proximal.h"
#include "sopt/types.h"
Go to the source code of this file.
Functions | |
template<typename T > | |
sopt::Matrix< T > | concatenated_permutations (sopt::t_uint i, sopt::t_uint j) |
TEST_CASE ("L2Ball", "[proximal]") | |
TEST_CASE ("WeightedL2Ball", "[proximal]") | |
TEST_CASE ("Euclidian norm", "[proximal]") | |
TEST_CASE ("Translation", "[proximal]") | |
TEST_CASE ("Tight-Frame L1 proximal", "[l1][proximal]") | |
TEST_CASE ("L1 proximal utilities", "[l1][utilities]") | |
TEST_CASE ("L1 proximal", "[l1][proximal]") | |
sopt::Matrix<T> concatenated_permutations | ( | sopt::t_uint | i, |
sopt::t_uint | j | ||
) |
Definition at line 13 of file proximal.cc.
References cols, mersenne(), and N.
TEST_CASE | ( | "Euclidian norm" | , |
"" | [proximal] | ||
) |
Definition at line 58 of file proximal.cc.
TEST_CASE | ( | "L1 proximal utilities" | , |
"" | [l1][utilities] | ||
) |
Definition at line 144 of file proximal.cc.
References sopt::proximal::L1< SCALAR >::Breaker::converged(), sopt::proximal::L1< SCALAR >::Breaker::current(), sopt::epsilon(), sopt::proximal::L1< SCALAR >::FistaMixing::next(), and sopt::proximal::L1< SCALAR >::Breaker::two_cycle().
TEST_CASE | ( | "L1 proximal" | , |
"" | [l1][proximal] | ||
) |
Definition at line 204 of file proximal.cc.
References sopt::positive_quadrant().
TEST_CASE | ( | "L2Ball" | , |
"" | [proximal] | ||
) |
TEST_CASE | ( | "Tight-Frame L1 proximal" | , |
"" | [l1][proximal] | ||
) |
Definition at line 89 of file proximal.cc.
References sopt::proximal::l1_norm().
TEST_CASE | ( | "Translation" | , |
"" | [proximal] | ||
) |
Definition at line 72 of file proximal.cc.
References sopt::proximal::L2Ball< T >::epsilon(), and sopt::proximal::translate().
TEST_CASE | ( | "WeightedL2Ball" | , |
"" | [proximal] | ||
) |
Definition at line 41 of file proximal.cc.
References sopt::proximal::WeightedL2Ball< T >::epsilon().