docs: public static double[] pow(double[] a, double c) {
      double[] result = new double[a.length];
      for (int i = 0; i < a.length; i++) {
        result[i] = Math.pow(a[i], c);
      }
      return result;
    }