docs: public static void scale( double alphaReal, double alphaImag , ZMatrixD1 a )
      {
          // on very small matrices (2 by 2) the call to getNumElements() can slow it down
          // slightly compared to other libraries since it involves an extra multiplication.
          final int size = a.getNumElements()*2;
  
          for( int i = 0; i < size; i += 2 ) {
              double real = a.data[i];
              double imag = a.data[i+1];
  
              a.data[i] = real*alphaReal - imag*alphaImag;
              a.data[i+1] = real*alphaImag + imag*alphaReal;
          }
      }