alpaqa develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Functions
ocp-vars.hpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/problem/ocproblem.hpp>
#include <concepts>
#include <numeric>
+ Include dependency graph for ocp-vars.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OCPVariables< Conf >
 
struct  OCPEvaluator< Conf >
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::detail
 

Concepts

concept  alpaqa::VectorRefLike
 

Functions

template<Config Conf, VectorRefLike< Conf > V>
constexpr auto const_or_mut_rvec (V &&v)
 
template<Config Conf>
void assign_interleave_xu (const OCPVariables< Conf > &dim, crvec< Conf > u, rvec< Conf > storage)
 
template<Config Conf>
void assign_interleave_xu (const OCPVariables< Conf > &dim, crvec< Conf > x, crvec< Conf > u, rvec< Conf > storage)
 
template<Config Conf>
void assign_extract_u (const OCPVariables< Conf > &dim, crvec< Conf > storage, rvec< Conf > u)
 
template<Config Conf>
void assign_extract_x (const OCPVariables< Conf > &dim, crvec< Conf > storage, rvec< Conf > x)
 
template<Config Conf>
vec< Confextract_u (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
 
template<Config Conf>
vec< Confextract_x (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)