![]() |
SOPT
Sparse OPTimisation
|
#include <catch2/catch_all.hpp>
#include <random>
#include <Eigen/Dense>
#include "sopt/imaging_padmm.h"
#include "sopt/padmm.h"
#include "sopt/proximal.h"
#include "sopt/types.h"
Go to the source code of this file.
Classes | |
struct | is_imaging_proximal_ref< T > |
Typedefs | |
using | Scalar = sopt::t_real |
using | t_Vector = sopt::Vector< Scalar > |
using | t_Matrix = sopt::Matrix< Scalar > |
Functions | |
sopt::t_int | random_integer (sopt::t_int min, sopt::t_int max) |
TEST_CASE ("Proximal ADMM with ||x - x0||_2 functions", "[padmm][integration]") | |
TEST_CASE ("Check type returned on setting variables") | |
Variables | |
constexpr auto | N = 5 |
using Scalar = sopt::t_real |
using t_Matrix = sopt::Matrix<Scalar> |
using t_Vector = sopt::Vector<Scalar> |
sopt::t_int random_integer | ( | sopt::t_int | min, |
sopt::t_int | max | ||
) |
Definition at line 11 of file padmm.cc.
References mersenne().
TEST_CASE | ( | "Check type returned on setting variables" | ) |
Definition at line 51 of file padmm.cc.
References sopt::algorithm::ImagingProximalADMM< SCALAR >::is_converged(), sopt::algorithm::ImagingProximalADMM< SCALAR >::Phi(), sopt::algorithm::ImagingProximalADMM< SCALAR >::Psi(), sopt::algorithm::ImagingProximalADMM< SCALAR >::residual_convergence(), and sopt::algorithm::ImagingProximalADMM< SCALAR >::target().
TEST_CASE | ( | "Proximal ADMM with ||x - x0||_2 functions" | , |
"" | [padmm][integration] | ||
) |
Definition at line 23 of file padmm.cc.
References N, sopt::algorithm::ProximalADMM< SCALAR >::Phi(), and sopt::proximal::translate().
|
constexpr |
Definition at line 21 of file padmm.cc.
Referenced by TEST_CASE().