48 a(0) = 1.0; a(1) = 3.0; a(2) = 2.0;
49 b(0) = 4.0; b(1) = 2.0; b(2) = 3.0;
55 printf(
"\nThe result for a+b is:\n");
59 printf(
"\nThe scalar product of a and b is:\n");
60 printf(
"%.16e \n", a^b );
67 A(0,0) = 1.0;
A(0,1) = 1.0;
68 A(1,0) = 0.0;
A(1,1) = 2.0;
70 B(0,0) = 1.0; B(0,1) = 0.0;
71 B(1,0) = 0.0; B(1,1) = 3.0;
73 printf(
"\nThe matrix A*B+A is:\n");
76 printf(
"\nThe dyadic product of a and b is:\n");
#define USING_NAMESPACE_ACADO
BEGIN_NAMESPACE_QPOASES returnValue print(const real_t *const v, int n)