#include <alpaqa/inner/directions/panoc/anderson.hpp>
Definition at line 20 of file anderson.hpp.
Collaboration diagram for AndersonDirection< Conf >:Classes | |
| struct | Params |
Public Types | |
| using | Problem = TypeErasedProblem< config_t > |
| using | AndersonAccel = alpaqa::AndersonAccel< config_t > |
| using | AcceleratorParams = typename AndersonAccel::Params |
| using | DirectionParams = AndersonDirectionParams< config_t > |
Public Member Functions | |
| AndersonDirection ()=default | |
| AndersonDirection (const Params ¶ms) | |
| AndersonDirection (const typename AndersonAccel::Params ¶ms, const DirectionParams &directionparams={}) | |
| AndersonDirection (const AndersonAccel &anderson, const DirectionParams &directionparams={}) | |
| AndersonDirection (AndersonAccel &&anderson, const DirectionParams &directionparams={}) | |
| void | initialize (const Problem &problem, crvec y, crvec Σ, real_t γ_0, crvec x_0, crvec x̂_0, crvec p_0, crvec grad_ψx_0) |
| bool | has_initial_direction () const |
| bool | update (real_t γₖ, real_t γₙₑₓₜ, crvec xₖ, crvec xₙₑₓₜ, crvec pₖ, crvec pₙₑₓₜ, crvec grad_ψxₖ, crvec grad_ψxₙₑₓₜ) |
| bool | apply (real_t γₖ, crvec xₖ, crvec x̂ₖ, crvec pₖ, crvec grad_ψxₖ, rvec qₖ) const |
| void | changed_γ (real_t γₖ, real_t old_γₖ) |
| void | reset () |
| std::string | get_name () const |
| auto | get_params () const |
Public Attributes | |
| AndersonAccel | anderson |
| DirectionParams | direction_params |
| struct alpaqa::AndersonDirection::Params |
Collaboration diagram for AndersonDirection< Conf >::Params:| Class Members | ||
|---|---|---|
| AcceleratorParams | accelerator = {} | |
| DirectionParams | direction = {} | |
| using Problem = TypeErasedProblem<config_t> |
Definition at line 23 of file anderson.hpp.
| using AndersonAccel = alpaqa::AndersonAccel<config_t> |
Definition at line 24 of file anderson.hpp.
| using AcceleratorParams = typename AndersonAccel::Params |
Definition at line 25 of file anderson.hpp.
| using DirectionParams = AndersonDirectionParams<config_t> |
Definition at line 26 of file anderson.hpp.
|
default |
|
inline |
Definition at line 36 of file anderson.hpp.
|
inline |
Definition at line 38 of file anderson.hpp.
|
inline |
Definition at line 41 of file anderson.hpp.
|
inline |
Definition at line 44 of file anderson.hpp.
|
inline |
Definition at line 49 of file anderson.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 59 of file anderson.hpp.
|
inline |
Definition at line 62 of file anderson.hpp.
|
inline |
Definition at line 71 of file anderson.hpp.
Here is the call graph for this function:Definition at line 80 of file anderson.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 88 of file anderson.hpp.
Here is the call graph for this function:
|
inline |
Definition at line 91 of file anderson.hpp.
|
inline |
|
mutable |
Definition at line 28 of file anderson.hpp.
| DirectionParams direction_params |
Definition at line 98 of file anderson.hpp.