36 #ifndef __SINGLE_OBJECT__ 37 #include <qpOASES.hpp> 49 if ( (( val <= 0.0 ) || ( val >= 0.0 )) == 0 )
66 for ( i=0; i<dim; ++i )
84 for ( i=0; i<dim; ++i )
86 if ( data[i] < -
INFTY )
89 if ( data[i] >
INFTY )
105 if ( ( M_for == 0 ) || ( M == 0 ) )
108 if ( ( nV < 0 ) || ( nC < 0 ) )
111 for ( i=0; i<nC; ++i )
112 for ( j=0; j<nV; ++j )
113 M[i*nV + j] = M_for[j*nC + i];
#define USING_NAMESPACE_QPOASES
USING_NAMESPACE_QPOASES BooleanType isNaN(real_t val)
Allows to pass back messages to the calling function.
returnValue removeNaNs(real_t *const data, unsigned int dim)
returnValue convertFortranToC(const real_t *const M_for, int nV, int nC, real_t *const M)
returnValue removeInfs(real_t *const data, unsigned int dim)