text: /*
   * Automatically Generated from Mathematica.
   * Thu 4 Nov 2021 18:41:19 GMT-04:00
   */
  
  #ifndef J_U_VEC_DIGIT_HH
  #define J_U_VEC_DIGIT_HH
  
  #ifdef MATLAB_MEX_FILE
  // No need for external definitions
  #else // MATLAB_MEX_FILE
  
  
  #include "math2mat.hpp"
  #include "mdefs.hpp"
  
  namespace RightStance
  {
  
    void J_u_vec_digit_raw(double *p_output1, const double *var1,const double *var2);
  
    inline void J_u_vec_digit(Eigen::MatrixXd &p_output1, const Eigen::VectorXd &var1,const Eigen::VectorXd &var2)
    {
      // Check
      // - Inputs
      assert_size_matrix(var1, 36, 1);
      assert_size_matrix(var2, 20, 1);
  
  	
      // - Outputs
      assert_size_matrix(p_output1, 20, 1);
  
  
      // set zero the matrix
      p_output1.setZero();
  
  
      // Call Subroutine with raw data
      J_u_vec_digit_raw(p_output1.data(), var1.data(),var2.data());
      }
    
    
  }
  
  #endif // MATLAB_MEX_FILE
  
  #endif // J_U_VEC_DIGIT_HH
  