#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"
Go to the source code of this file.
◆ 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");
Definition at line 119 of file sara.h.