SOPT
Sparse OPTimisation
Classes | Namespaces | Macros
sara.h File Reference
#include "sopt/config.h"
#include <algorithm>
#include <cmath>
#include <initializer_list>
#include <string>
#include <tuple>
#include <vector>
#include "sopt/logging.h"
#include "sopt/wavelets/wavelets.h"
+ Include dependency graph for sara.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sopt::wavelets::SARA
 Sparsity Averaging Reweighted Analysis. More...
 

Namespaces

 sopt
 
 sopt::wavelets
 

Macros

#define SOPT_WAVELET_ERROR_MACRO(INPUT)
 

Macro Definition Documentation

◆ SOPT_WAVELET_ERROR_MACRO

#define SOPT_WAVELET_ERROR_MACRO (   INPUT)
Value:
if ((INPUT).rows() % (1u << max_levels()) != 0) \
throw std::length_error("Inconsistent number of columns and wavelet levels"); \
else if ((INPUT).cols() != 1 and (INPUT).cols() % (1u << max_levels())) \
throw std::length_error("Inconsistent number of rows and wavelet levels");
t_uint rows
t_uint cols

Definition at line 119 of file sara.h.