|
akreon-convex
Typed convex modeling, conic canonicalization, and primal-dual optimization in C++26.
|
Fixed-capacity PD-IPM trace. More...
#include <pd_ipm_trace.hpp>
Public Member Functions | |
| constexpr void | reset () |
| constexpr bool | full () const |
| full (num_iters >= PD_IPM_STEPS) | |
| constexpr std::size_t | size () const |
| size | |
| constexpr auto & | iter (std::size_t k) |
| iter & relevent overrides | |
| constexpr const auto & | iter (std::size_t k) const |
| constexpr auto & | operator[] (std::size_t k) |
| constexpr const auto & | operator[] (std::size_t k) const |
| constexpr auto & | current () |
| current | |
| constexpr const auto & | current () const |
| current | |
| constexpr bool | commit_iter () |
| commit iter will increment the number of iters | |
Public Attributes | |
| std::array< PdIpmIterTrace< T, NumCones >, PD_IPM_STEPS > | iters {} |
| public member vars | |
| std::size_t | num_iters {} |
| number of iterations | |
Static Public Attributes | |
| static constexpr std::size_t | num_cones = NumCones |
| static export of num cones | |
Fixed-capacity PD-IPM trace.
num_iters is the number of committed iterations. current() returns the next writable slot until commit_iter() is called.
Definition at line 107 of file pd_ipm_trace.hpp.
|
inlineconstexpr |
commit iter will increment the number of iters
Definition at line 161 of file pd_ipm_trace.hpp.
References convex::PdIpmTrace< T, NumCones >::num_iters, and PD_IPM_STEPS.
|
inlineconstexpr |
current
Definition at line 143 of file pd_ipm_trace.hpp.
References convex::PdIpmTrace< T, NumCones >::iters, convex::PdIpmTrace< T, NumCones >::num_iters, and PD_IPM_STEPS.
|
inlineconstexpr |
current
Definition at line 152 of file pd_ipm_trace.hpp.
References convex::PdIpmTrace< T, NumCones >::iters, convex::PdIpmTrace< T, NumCones >::num_iters, and PD_IPM_STEPS.
|
inlineconstexpr |
full (num_iters >= PD_IPM_STEPS)
Definition at line 117 of file pd_ipm_trace.hpp.
References convex::PdIpmTrace< T, NumCones >::num_iters, and PD_IPM_STEPS.
|
inlineconstexpr |
iter & relevent overrides
| k | (std::size_t) |
Definition at line 133 of file pd_ipm_trace.hpp.
References convex::dom_size_v, and convex::PdIpmTrace< T, NumCones >::iters.
|
inlineconstexpr |
Definition at line 134 of file pd_ipm_trace.hpp.
References convex::dom_size_v, and convex::PdIpmTrace< T, NumCones >::iters.
|
inlineconstexpr |
Definition at line 135 of file pd_ipm_trace.hpp.
References convex::dom_size_v, and convex::PdIpmTrace< T, NumCones >::iters.
|
inlineconstexpr |
Definition at line 136 of file pd_ipm_trace.hpp.
References convex::dom_size_v, and convex::PdIpmTrace< T, NumCones >::iters.
|
inlineconstexpr |
Definition at line 108 of file pd_ipm_trace.hpp.
|
inlineconstexpr |
size
Definition at line 124 of file pd_ipm_trace.hpp.
References convex::PdIpmTrace< T, NumCones >::num_iters.
| std::array<PdIpmIterTrace<T, NumCones>, PD_IPM_STEPS> convex::PdIpmTrace< T, NumCones >::iters {} |
public member vars
array of pd ipm trace objects
Definition at line 169 of file pd_ipm_trace.hpp.
Referenced by convex::debug::append_solver_trace(), convex::PdIpmTrace< T, NumCones >::current(), convex::PdIpmTrace< T, NumCones >::current(), convex::PdIpmTrace< T, NumCones >::iter(), convex::PdIpmTrace< T, NumCones >::iter(), convex::PdIpmTrace< T, NumCones >::operator[](), and convex::PdIpmTrace< T, NumCones >::operator[]().
|
staticconstexpr |
static export of num cones
Definition at line 110 of file pd_ipm_trace.hpp.
| std::size_t convex::PdIpmTrace< T, NumCones >::num_iters {} |
number of iterations
Definition at line 170 of file pd_ipm_trace.hpp.
Referenced by convex::debug::append_solver_trace(), convex::PdIpmTrace< T, NumCones >::commit_iter(), convex::PdIpmTrace< T, NumCones >::current(), convex::PdIpmTrace< T, NumCones >::current(), convex::PdIpmTrace< T, NumCones >::full(), and convex::PdIpmTrace< T, NumCones >::size().