template<Config Conf, class Weight = typename Conf::real_t>
requires (std::is_same_v<Weight, typename Conf::real_t> || std::is_same_v<Weight, typename Conf::vec> || std::is_same_v<Weight, typename Conf::rvec> || std::is_same_v<Weight, typename Conf::crvec> || std::is_same_v<Weight, typename Conf::mat> || std::is_same_v<Weight, typename Conf::rmat> || std::is_same_v<Weight, typename Conf::crmat>)
struct alpaqa::functions::L1Norm< Conf, Weight >
ℓ₁-norm.
- Template Parameters
-
Weight | Type of weighting factors. Either scalar or vector. |
- Examples
- C++/Advanced/lasso-fbs.cpp.
Definition at line 24 of file l1-norm.hpp.