![]() |
SOPT
Sparse OPTimisation
|
Computes according to given algorithm and then projects it to the positive quadrant. More...
#include <positive_quadrant.h>
Public Types | |
using | Algorithm = ALGORITHM |
Underlying algorithm. More... | |
using | Scalar = typename Algorithm::Scalar |
Underlying scalar. More... | |
using | t_Vector = typename Algorithm::t_Vector |
Underlying vector. More... | |
using | t_IsConverged = typename Algorithm::t_IsConverged |
Underlying convergence functions. More... | |
using | Diagnostic = typename ALGORITHM::Diagnostic |
Underlying result type. More... | |
using | DiagnosticAndResult = typename ALGORITHM::DiagnosticAndResult |
Underlying result type. More... | |
Public Member Functions | |
PositiveQuadrant (Algorithm const &algo) | |
PositiveQuadrant (Algorithm &&algo) | |
Algorithm & | algorithm () |
Algorithm const & | algorithm () const |
template<typename... T> | |
Diagnostic | operator() (t_Vector &out, T const &... args) const |
Performs algorithm and project results onto positive quadrant. More... | |
template<typename... T> | |
DiagnosticAndResult | operator() (T const &... args) const |
Performs algorithm and project results onto positive quadrant. More... | |
Computes according to given algorithm and then projects it to the positive quadrant.
C implementation of the reweighted algorithms uses this, even-though the solutions are already constrained to the positive quadrant.
Definition at line 15 of file positive_quadrant.h.
using sopt::algorithm::PositiveQuadrant< ALGORITHM >::Algorithm = ALGORITHM |
Underlying algorithm.
Definition at line 18 of file positive_quadrant.h.
using sopt::algorithm::PositiveQuadrant< ALGORITHM >::Diagnostic = typename ALGORITHM::Diagnostic |
Underlying result type.
Definition at line 26 of file positive_quadrant.h.
using sopt::algorithm::PositiveQuadrant< ALGORITHM >::DiagnosticAndResult = typename ALGORITHM::DiagnosticAndResult |
Underlying result type.
Definition at line 28 of file positive_quadrant.h.
using sopt::algorithm::PositiveQuadrant< ALGORITHM >::Scalar = typename Algorithm::Scalar |
Underlying scalar.
Definition at line 20 of file positive_quadrant.h.
using sopt::algorithm::PositiveQuadrant< ALGORITHM >::t_IsConverged = typename Algorithm::t_IsConverged |
Underlying convergence functions.
Definition at line 24 of file positive_quadrant.h.
using sopt::algorithm::PositiveQuadrant< ALGORITHM >::t_Vector = typename Algorithm::t_Vector |
Underlying vector.
Definition at line 22 of file positive_quadrant.h.
|
inline |
Definition at line 30 of file positive_quadrant.h.
|
inline |
Definition at line 31 of file positive_quadrant.h.
|
inline |
Definition at line 33 of file positive_quadrant.h.
Referenced by sopt::algorithm::PositiveQuadrant< ALGORITHM >::operator()().
|
inline |
Definition at line 34 of file positive_quadrant.h.
|
inline |
Performs algorithm and project results onto positive quadrant.
Definition at line 46 of file positive_quadrant.h.
References sopt::algorithm::PositiveQuadrant< ALGORITHM >::algorithm(), and sopt::algorithm::positive_quadrant().
|
inline |
Performs algorithm and project results onto positive quadrant.
Definition at line 38 of file positive_quadrant.h.
References sopt::algorithm::PositiveQuadrant< ALGORITHM >::algorithm(), and sopt::algorithm::positive_quadrant().