SOPT
Sparse OPTimisation
Classes | Namespaces | Macros
primal_dual.h File Reference
#include "sopt/config.h"
#include <functional>
#include <limits>
#include <tuple>
#include <utility>
#include "sopt/exception.h"
#include "sopt/linear_transform.h"
#include "sopt/logging.h"
#include "sopt/types.h"
+ Include dependency graph for primal_dual.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sopt::algorithm::PrimalDual< SCALAR >
 Primal Dual Algorithm. More...
 
struct  sopt::algorithm::PrimalDual< SCALAR >::Diagnostic
 Values indicating how the algorithm ran. More...
 
struct  sopt::algorithm::PrimalDual< SCALAR >::DiagnosticAndResult
 Holds result vector as well. More...
 

Namespaces

 sopt
 
 sopt::algorithm
 

Macros

#define SOPT_MACRO(NAME, TYPE)
 

Macro Definition Documentation

◆ SOPT_MACRO

#define SOPT_MACRO (   NAME,
  TYPE 
)
Value:
TYPE const &NAME() const { return NAME##_; } \
PrimalDual<SCALAR> &NAME(TYPE const &(NAME)) { \
NAME##_ = NAME; \
return *this; \
} \
\
protected: \
TYPE NAME##_; \
\
public:

Definition at line 96 of file primal_dual.h.