36 #include <qpOASES.hpp> 59 il.getNumberArray(&numbers);
60 fprintf(
stdFile,
"Unsorted numbers: ");
61 for (i = 0; i < 10; i++)
62 fprintf(
stdFile,
" %2d", (
int)(numbers[i]) );
65 fprintf(
stdFile,
"Unsorted index of number 0: %3d\n", (
int)(il.getIndex(0)) );
70 fprintf(
stdFile,
"Unsorted index of (removed) number 5: %3d\n", (
int)(il.getIndex(5)) );
74 il.getNumberArray(&numbers);
75 fprintf(
stdFile,
"Unsorted numbers: ");
76 for (i = 0; i < 9; i++)
77 fprintf(
stdFile,
" %2d", (
int)(numbers[i]) );
82 il.getNumberArray(&numbers);
83 fprintf(
stdFile,
"Unsorted numbers: ");
84 for (i = 0; i < 9; i++)
85 fprintf(
stdFile,
" %2d", (
int)(numbers[i]) );
#define USING_NAMESPACE_QPOASES
Stores and manages index lists.
#define QPOASES_TEST_FOR_TRUE(x)