text: /*
   * Automatically Generated from Mathematica.
   * Fri 5 Nov 2021 16:30:13 GMT-04:00
   */
  
  #ifndef J_AVERAGE_HIP_ROTATION_LEFTSTANCE_HH
  #define J_AVERAGE_HIP_ROTATION_LEFTSTANCE_HH
  
  #ifdef MATLAB_MEX_FILE
  // No need for external definitions
  #else // MATLAB_MEX_FILE
  
  
  #include "math2mat.hpp"
  #include "mdefs.hpp"
  
  namespace LeftStance
  {
  
    void J_average_hip_rotation_LeftStance_raw(double *p_output1, const double *var1,const double *var2,const double *var3,const double *var4,const double *var5,const double *var6,const double *var7,const double *var8,const double *var9,const double *var10,const double *var11,const double *var12,const double *var13,const double *var14,const double *var15,const double *var16,const double *var17,const double *var18,const double *var19,const double *var20,const double *var21);
  
    inline void J_average_hip_rotation_LeftStance(Eigen::MatrixXd &p_output1, const Eigen::VectorXd &var1,const Eigen::VectorXd &var2,const Eigen::VectorXd &var3,const Eigen::VectorXd &var4,const Eigen::VectorXd &var5,const Eigen::VectorXd &var6,const Eigen::VectorXd &var7,const Eigen::VectorXd &var8,const Eigen::VectorXd &var9,const Eigen::VectorXd &var10,const Eigen::VectorXd &var11,const Eigen::VectorXd &var12,const Eigen::VectorXd &var13,const Eigen::VectorXd &var14,const Eigen::VectorXd &var15,const Eigen::VectorXd &var16,const Eigen::VectorXd &var17,const Eigen::VectorXd &var18,const Eigen::VectorXd &var19,const Eigen::VectorXd &var20,const Eigen::VectorXd &var21)
    {
      // Check
      // - Inputs
      assert_size_matrix(var1, 36, 1);
      assert_size_matrix(var2, 36, 1);
      assert_size_matrix(var3, 36, 1);
      assert_size_matrix(var4, 36, 1);
      assert_size_matrix(var5, 36, 1);
      assert_size_matrix(var6, 36, 1);
      assert_size_matrix(var7, 36, 1);
      assert_size_matrix(var8, 36, 1);
      assert_size_matrix(var9, 36, 1);
      assert_size_matrix(var10, 36, 1);
      assert_size_matrix(var11, 36, 1);
      assert_size_matrix(var12, 36, 1);
      assert_size_matrix(var13, 36, 1);
      assert_size_matrix(var14, 36, 1);
      assert_size_matrix(var15, 36, 1);
      assert_size_matrix(var16, 36, 1);
      assert_size_matrix(var17, 36, 1);
      assert_size_matrix(var18, 36, 1);
      assert_size_matrix(var19, 36, 1);
      assert_size_matrix(var20, 36, 1);
      assert_size_matrix(var21, 36, 1);
  
  	
      // - Outputs
      assert_size_matrix(p_output1, 42, 1);
  
  
      // set zero the matrix
      p_output1.setZero();
  
  
      // Call Subroutine with raw data
      J_average_hip_rotation_LeftStance_raw(p_output1.data(), var1.data(),var2.data(),var3.data(),var4.data(),var5.data(),var6.data(),var7.data(),var8.data(),var9.data(),var10.data(),var11.data(),var12.data(),var13.data(),var14.data(),var15.data(),var16.data(),var17.data(),var18.data(),var19.data(),var20.data(),var21.data());
      }
    
    
  }
  
  #endif // MATLAB_MEX_FILE
  
  #endif // J_AVERAGE_HIP_ROTATION_LEFTSTANCE_HH
  