alpaqa no-casadi-dep
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Namespaces | Functions
check-dim.hpp File Reference
#include <alpaqa/config/config.hpp>
#include <optional>
#include <stdexcept>
#include <string>
+ Include dependency graph for check-dim.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  alpaqa
 
namespace  alpaqa::util
 

Functions

template<class V >
void check_dim_msg (const V &v, auto sz, std::string msg)
 
template<class V >
void check_dim_msg (std::optional< V > &v, auto sz, std::string msg)
 
template<class V >
void check_dim (std::string name, V &&v, auto sz)
 
template<class M >
void check_dim_msg (const M &m, auto rows, auto cols, std::string msg)
 
template<class M >
void check_dim (std::string name, M &&m, auto rows, auto cols)