RLV.h 700 B

12345678910111213141516171819202122
  1. #ifndef RLV_H
  2. #define RLV_H
  3. //代码
  4. //////////////////////*头文件包含部分*/////////////////////////////////////
  5. #include "program.hpp"
  6. #include <cassert>
  7. #include <iostream>
  8. #include <math.h>
  9. #include <armadillo>
  10. using namespace arma;
  11. using namespace std;
  12. using namespace Ipopt;
  13. // 内置函数
  14. int Dynamics123(mat* StateVar, mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path);
  15. int Dynamics123(cx_mat* StateVar, mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path);
  16. int Dynamics123(mat* StateVar, cx_mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path);
  17. int Objective123(input0* input, double* output, mat* event);
  18. #endif
  19. #pragma once