#### File: power.c
        1   /*
        2    * File: power.c
        3    *
        4    * MATLAB Coder version            : 3.4
        5    * C/C++ source code generated on  : 27-Feb-2019 07:33:34
        6    */
        7
        8   /* Include Files */
        9   #include "rt_nonfinite.h"
       10   #include "MLS.h"
       11   #include "power.h"
       12   #include "MLS_emxutil.h"
       13
       14   /* Function Definitions */
       15
       16   /*
       17    * Arguments    : const emxArray_real_T *a
       18    *                emxArray_real_T *y
       19    * Return Type  : void
       20    */
       21   void power(const emxArray_real_T *a, emxArray_real_T *y)
       22   {
       23     int nx;
       24     unsigned int a_idx_0;
       25     int k;
       26     nx = y->size[0] * y->size[1];
       27     y->size[0] = a->size[0];
       28     y->size[1] = 2;
       29     emxEnsureCapacity_real_T(y, nx);
       30     a_idx_0 = (unsigned int)a->size[0];
       31     nx = (int)a_idx_0 << 1;
       32     for (k = 0; k + 1 <= nx; k++) {
       33       y->data[k] = a->data[k] * a->data[k];
       34     }
       35   }
       36
       37   /*
       38    * File trailer for power.c
       39    *
       40    * [EOF]
       41    */
       42