alpaqa 1.0.0a11
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Member Functions | List of all members
prox_fn Struct Reference

#include <alpaqa/functions/prox.hpp>

Detailed Description

Proximal mapping customization point.

See also
https://wg21.link/P1895R0

Definition at line 10 of file prox.hpp.

+ Collaboration diagram for prox_fn:

Public Member Functions

template<class T >
requires requires { typename T::config_t; requires is_config_v<typename T::config_t>; requires alpaqa::tag_invocable< prox_fn, T &, typename T::config_t::crmat, typename T::config_t::rmat, typename T::config_t::real_t>; requires std::is_same_v< tag_invoke_result_t<prox_fn, T &, typename T::config_t::crmat, typename T::config_t::rmat, typename T::config_t::real_t>, typename T::config_t::real_t>; }
auto operator() (T &func, typename T::config_t::crmat in, typename T::config_t::rmat out, typename T::config_t::real_t γ=1) const noexcept(alpaqa::is_nothrow_tag_invocable_v< prox_fn, T &, typename T::config_t::crmat, typename T::config_t::rmat, typename T::config_t::real_t >) -> typename T::config_t::real_t
 

Member Function Documentation

◆ operator()()

auto operator() ( T &  func,
typename T::config_t::crmat  in,
typename T::config_t::rmat  out,
typename T::config_t::real_t  γ = 1 
) const -> typename T::config_t::real_t
inlinenoexcept

Definition at line 29 of file prox.hpp.


The documentation for this struct was generated from the following file: