code: public static double sum(@javax.annotation.Nonnull final List<double[]> a) {
      return a.stream().parallel().mapToDouble(x -> Arrays.stream(x).sum()).sum();
    }
docs: Sum double.
  
  @param a the a
  @return the double