norm.cpp
Go to the documentation of this file.
00001 /*
00002  * norm.cpp
00003  *
00004  * Code generation for function 'norm'
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 "norm.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 real_T b_norm(const real_T x[3888])
00027 {
00028   real_T y;
00029   int32_T k;
00030   y = 0.0;
00031   for (k = 0; k < 3888; k++) {
00032     y += fabs(x[k]);
00033   }
00034 
00035   return y;
00036 }
00037 
00038 real_T norm(const real_T x[1296])
00039 {
00040   real_T y;
00041   int32_T k;
00042   y = 0.0;
00043   for (k = 0; k < 1296; k++) {
00044     y += fabs(x[k]);
00045   }
00046 
00047   return y;
00048 }
00049 
00050 /* End of code generation (norm.cpp) */


depth_tracker_ros_vr8
Author(s): shusain
autogenerated on Fri Dec 6 2013 20:45:47