#include "sopt/config.h"
#include <limits>
#include <numeric>
#include <tuple>
#include <utility>
#include "sopt/exception.h"
#include "sopt/linear_transform.h"
#include "sopt/logging.h"
#include "sopt/primal_dual.h"
#include "sopt/proximal.h"
#include "sopt/relative_variation.h"
#include "sopt/types.h"
Go to the source code of this file.
◆ SOPT_MACRO [1/2]
#define SOPT_MACRO |
( |
|
NAME, |
|
|
|
TYPE |
|
) |
| |
Value: TYPE const &NAME() const { return NAME##_; } \
TVPrimalDual<SCALAR> &NAME(TYPE const &(NAME)) { \
NAME##_ = NAME; \
return *this; \
} \
\
protected: \
TYPE NAME##_; \
\
public:
Definition at line 235 of file tv_primal_dual.h.
◆ SOPT_MACRO [2/2]
#define SOPT_MACRO |
( |
|
VAR, |
|
|
|
NAME, |
|
|
|
PROXIMAL |
|
) |
| |
Value: \
decltype(std::declval<proximal::PROXIMAL<Scalar> const>().VAR()) NAME##_proximal_##VAR() const { \
return NAME##_proximal().VAR(); \
} \
\
TVPrimalDual<Scalar> &NAME##_proximal_##VAR( \
decltype(std::declval<proximal::PROXIMAL<Scalar> const>().VAR()) (VAR)) { \
NAME##_proximal().VAR(VAR); \
return *this; \
}
Definition at line 235 of file tv_primal_dual.h.