4 #include "sopt/config.h"
23 template <
typename T = t_real>
24 using Vector = Eigen::Matrix<T, Eigen::Dynamic, 1>;
28 template <
typename T = t_real>
29 using Matrix = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>;
33 template <
typename T = t_real>
34 using Array = Eigen::Array<T, Eigen::Dynamic, 1>;
38 template <
typename T = t_real>
39 using Image = Eigen::Array<T, Eigen::Dynamic, Eigen::Dynamic>;
42 template <
typename VECTOR = Vector<>>
46 template <
typename SCALAR = t_real>
51 template <
typename SCALAR = t_real>
Computes inner-most element type.
int t_int
Root of the type hierarchy for signed integers.
double t_real
Root of the type hierarchy for real numbers.
size_t t_uint
Root of the type hierarchy for unsigned integers.
Eigen::Array< T, Eigen::Dynamic, Eigen::Dynamic > Image
A 2-dimensional list of elements of given type.
Eigen::Array< T, Eigen::Dynamic, 1 > Array
A 1-dimensional list of elements of given type.
std::function< void(VECTOR &, VECTOR const &)> OperatorFunction
Typical function out = A*x.
Eigen::Matrix< T, Eigen::Dynamic, 1 > Vector
A vector of a given type.
std::function< void(Vector< SCALAR > &output, typename real_type< SCALAR >::type const weight, Vector< SCALAR > const &input)> ProximalFunction
Typical function signature for calls to proximal.
std::function< bool(Vector< SCALAR > const &)> ConvergenceFunction
Typical function signature for convergence.
std::complex< t_real > t_complex
Root of the type hierarchy for (real) complex numbers.
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > Matrix
A matrix of a given type.