00001 /* 00002 * abs.cpp 00003 * 00004 * Code generation for function 'abs' 00005 * 00006 * C source code generated on: Wed Jul 24 16:11:35 2013 00007 * 00008 */ 00009 00010 /* Include files */ 00011 #include "rt_nonfinite.h" 00012 #include "Optimal_affine_tracking_3d16_fast_realtime.h" 00013 #include "abs.h" 00014 00015 /* Type Definitions */ 00016 00017 /* Named Constants */ 00018 00019 /* Variable Declarations */ 00020 00021 /* Variable Definitions */ 00022 00023 /* Function Declarations */ 00024 00025 /* Function Definitions */ 00026 void b_abs(const real_T x[1296], real_T y[1296]) 00027 { 00028 int32_T k; 00029 for (k = 0; k < 1296; k++) { 00030 y[k] = fabs(x[k]); 00031 } 00032 } 00033 00034 /* End of code generation (abs.cpp) */