autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
Loading...
Searching...
No Matches
cgmres::detail::ubounds Namespace Reference

Functions

template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void eval_hu (const OCP &ocp, const MatrixBase< VectorType1 > &u, const MatrixBase< VectorType2 > &dummy, const MatrixBase< VectorType3 > &mu, const MatrixBase< VectorType4 > &hu)
 
template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void eval_hdummy (const OCP &ocp, const MatrixBase< VectorType1 > &u, const MatrixBase< VectorType2 > &dummy, const MatrixBase< VectorType3 > &mu, const MatrixBase< VectorType4 > &hdummy)
 
template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void eval_hmu (const OCP &ocp, const MatrixBase< VectorType1 > &u, const MatrixBase< VectorType2 > &dummy, const MatrixBase< VectorType3 > &mu, const MatrixBase< VectorType4 > &hmu)
 
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 >
void multiply_hdummy_inv (const MatrixBase< VectorType1 > &dummy, const MatrixBase< VectorType2 > &mu, const MatrixBase< VectorType3 > &hdummy, const MatrixBase< VectorType4 > &hmu, const MatrixBase< VectorType5 > &hdummy_multiplied)
 
template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 , typename VectorType6 >
void multiply_hmu_inv (const MatrixBase< VectorType1 > &dummy, const MatrixBase< VectorType2 > &mu, const MatrixBase< VectorType3 > &hdummy, const MatrixBase< VectorType4 > &hmu, const MatrixBase< VectorType5 > &hdummy_multiplied, const MatrixBase< VectorType6 > &hmu_multiplied)
 
template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 >
void retrive_dummy_update (const OCP &ocp, const MatrixBase< VectorType1 > &u, const MatrixBase< VectorType2 > &dummy, const MatrixBase< VectorType3 > &mu, const MatrixBase< VectorType4 > &u_update, const MatrixBase< VectorType5 > &dummy_update)
 
template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 >
void retrive_mu_update (const OCP &ocp, const MatrixBase< VectorType1 > &u, const MatrixBase< VectorType2 > &dummy, const MatrixBase< VectorType3 > &mu, const MatrixBase< VectorType4 > &u_update, const MatrixBase< VectorType5 > &mu_udpate)
 
template<typename VectorType >
void clip_dummy (const MatrixBase< VectorType > &dummy, const Scalar min)
 
template<typename OCP , int N>
void eval_fonc_hu (const OCP &ocp, const Vector< OCP::nuc *N > &solution, const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, Vector< OCP::nuc *N > &fonc_hu)
 
template<typename OCP , int N>
void eval_fonc_hdummy (const OCP &ocp, const Vector< OCP::nuc *N > &solution, const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, std::array< Vector< OCP::nub >, N > &fonc_hdummy)
 
template<typename OCP , int N>
void eval_fonc_hmu (const OCP &ocp, const Vector< OCP::nuc *N > &solution, const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, std::array< Vector< OCP::nub >, N > &fonc_hmu)
 
template<typename OCP , int N>
void multiply_hdummy_inv (const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, const std::array< Vector< OCP::nub >, N > &fonc_hdummy, const std::array< Vector< OCP::nub >, N > &fonc_hmu, std::array< Vector< OCP::nub >, N > &fonc_hdummy_inv)
 
template<typename OCP , int N>
void multiply_hmu_inv (const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, const std::array< Vector< OCP::nub >, N > &fonc_hdummy, const std::array< Vector< OCP::nub >, N > &fonc_hmu, const std::array< Vector< OCP::nub >, N > &fonc_hdummy_inv, std::array< Vector< OCP::nub >, N > &fonc_hmu_inv)
 
template<typename OCP , int N>
void retrive_dummy_update (const OCP &ocp, const Vector< OCP::nuc *N > &solution, const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, const Vector< OCP::nuc *N > &solution_update, std::array< Vector< OCP::nub >, N > &dummy_update)
 
template<typename OCP , int N>
void retrive_mu_update (const OCP &ocp, const Vector< OCP::nuc *N > &solution, const std::array< Vector< OCP::nub >, N > &dummy, const std::array< Vector< OCP::nub >, N > &mu, const Vector< OCP::nuc *N > &solution_update, std::array< Vector< OCP::nub >, N > &mu_update)
 
template<typename OCP , int N>
void clip_dummy (std::array< Vector< OCP::nub >, N > &dummy, const Scalar min)
 

Function Documentation

◆ clip_dummy() [1/2]

template<typename VectorType >
void cgmres::detail::ubounds::clip_dummy ( const MatrixBase< VectorType > &  dummy,
const Scalar  min 
)

◆ clip_dummy() [2/2]

template<typename OCP , int N>
void cgmres::detail::ubounds::clip_dummy ( std::array< Vector< OCP::nub >, N > &  dummy,
const Scalar  min 
)

◆ eval_fonc_hdummy()

template<typename OCP , int N>
void cgmres::detail::ubounds::eval_fonc_hdummy ( const OCP &  ocp,
const Vector< OCP::nuc *N > &  solution,
const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
std::array< Vector< OCP::nub >, N > &  fonc_hdummy 
)

◆ eval_fonc_hmu()

template<typename OCP , int N>
void cgmres::detail::ubounds::eval_fonc_hmu ( const OCP &  ocp,
const Vector< OCP::nuc *N > &  solution,
const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
std::array< Vector< OCP::nub >, N > &  fonc_hmu 
)

◆ eval_fonc_hu()

template<typename OCP , int N>
void cgmres::detail::ubounds::eval_fonc_hu ( const OCP &  ocp,
const Vector< OCP::nuc *N > &  solution,
const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
Vector< OCP::nuc *N > &  fonc_hu 
)

◆ eval_hdummy()

template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void cgmres::detail::ubounds::eval_hdummy ( const OCP &  ocp,
const MatrixBase< VectorType1 > &  u,
const MatrixBase< VectorType2 > &  dummy,
const MatrixBase< VectorType3 > &  mu,
const MatrixBase< VectorType4 > &  hdummy 
)

◆ eval_hmu()

template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void cgmres::detail::ubounds::eval_hmu ( const OCP &  ocp,
const MatrixBase< VectorType1 > &  u,
const MatrixBase< VectorType2 > &  dummy,
const MatrixBase< VectorType3 > &  mu,
const MatrixBase< VectorType4 > &  hmu 
)

◆ eval_hu()

template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 >
void cgmres::detail::ubounds::eval_hu ( const OCP &  ocp,
const MatrixBase< VectorType1 > &  u,
const MatrixBase< VectorType2 > &  dummy,
const MatrixBase< VectorType3 > &  mu,
const MatrixBase< VectorType4 > &  hu 
)

◆ multiply_hdummy_inv() [1/2]

template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 >
void cgmres::detail::ubounds::multiply_hdummy_inv ( const MatrixBase< VectorType1 > &  dummy,
const MatrixBase< VectorType2 > &  mu,
const MatrixBase< VectorType3 > &  hdummy,
const MatrixBase< VectorType4 > &  hmu,
const MatrixBase< VectorType5 > &  hdummy_multiplied 
)

◆ multiply_hdummy_inv() [2/2]

template<typename OCP , int N>
void cgmres::detail::ubounds::multiply_hdummy_inv ( const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
const std::array< Vector< OCP::nub >, N > &  fonc_hdummy,
const std::array< Vector< OCP::nub >, N > &  fonc_hmu,
std::array< Vector< OCP::nub >, N > &  fonc_hdummy_inv 
)

◆ multiply_hmu_inv() [1/2]

template<typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 , typename VectorType6 >
void cgmres::detail::ubounds::multiply_hmu_inv ( const MatrixBase< VectorType1 > &  dummy,
const MatrixBase< VectorType2 > &  mu,
const MatrixBase< VectorType3 > &  hdummy,
const MatrixBase< VectorType4 > &  hmu,
const MatrixBase< VectorType5 > &  hdummy_multiplied,
const MatrixBase< VectorType6 > &  hmu_multiplied 
)

◆ multiply_hmu_inv() [2/2]

template<typename OCP , int N>
void cgmres::detail::ubounds::multiply_hmu_inv ( const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
const std::array< Vector< OCP::nub >, N > &  fonc_hdummy,
const std::array< Vector< OCP::nub >, N > &  fonc_hmu,
const std::array< Vector< OCP::nub >, N > &  fonc_hdummy_inv,
std::array< Vector< OCP::nub >, N > &  fonc_hmu_inv 
)

◆ retrive_dummy_update() [1/2]

template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 >
void cgmres::detail::ubounds::retrive_dummy_update ( const OCP &  ocp,
const MatrixBase< VectorType1 > &  u,
const MatrixBase< VectorType2 > &  dummy,
const MatrixBase< VectorType3 > &  mu,
const MatrixBase< VectorType4 > &  u_update,
const MatrixBase< VectorType5 > &  dummy_update 
)

◆ retrive_dummy_update() [2/2]

template<typename OCP , int N>
void cgmres::detail::ubounds::retrive_dummy_update ( const OCP &  ocp,
const Vector< OCP::nuc *N > &  solution,
const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
const Vector< OCP::nuc *N > &  solution_update,
std::array< Vector< OCP::nub >, N > &  dummy_update 
)

◆ retrive_mu_update() [1/2]

template<typename OCP , typename VectorType1 , typename VectorType2 , typename VectorType3 , typename VectorType4 , typename VectorType5 >
void cgmres::detail::ubounds::retrive_mu_update ( const OCP &  ocp,
const MatrixBase< VectorType1 > &  u,
const MatrixBase< VectorType2 > &  dummy,
const MatrixBase< VectorType3 > &  mu,
const MatrixBase< VectorType4 > &  u_update,
const MatrixBase< VectorType5 > &  mu_udpate 
)

◆ retrive_mu_update() [2/2]

template<typename OCP , int N>
void cgmres::detail::ubounds::retrive_mu_update ( const OCP &  ocp,
const Vector< OCP::nuc *N > &  solution,
const std::array< Vector< OCP::nub >, N > &  dummy,
const std::array< Vector< OCP::nub >, N > &  mu,
const Vector< OCP::nuc *N > &  solution_update,
std::array< Vector< OCP::nub >, N > &  mu_update 
)