docs: public static double[] getImaginary(ComplexNumber[] cn) {
          double[] n = new double[cn.length];
          for (int i = 0; i < n.length; i++) {
              n[i] = cn[i].imaginary;
          }
          return n;
      }