public static DoubleStream zip(final double[] a, final double[] b, final DoubleBiFunction<Double> zipFunction) {
        return Stream.zip(a, b, zipFunction).mapToDouble(ToDoubleFunction.UNBOX);
    }
public static DoubleStream zip ( final double [ ] a , final double [ ] b , final DoubleBiFunction < Double > zipFunction ) { return Stream . zip ( a , b , zipFunction ) . mapToDouble ( ToDoubleFunction . UNBOX ) ; }
Zip together the "a" and "b" arrays until one of them runs out of values.
Each pair of values is combined into a single value using the supplied zipFunction function.

@param a
@param b
@return