class Product extends AbstractStorelessUnivariateStatistic implements Serializable, WeightedEvaluation {

    @Override
    public double evaluate(final double[] values, final int begin, final int length)
    throws MathIllegalArgumentException {
        double product = Double.NaN;
        if (test(values, begin, length, true)) {
            product = 1.0;
            for (int i = begin; i < begin + length; i++) {
                product *= values[i];
            }
        }
        return product;
    }

    public  Product();
    public  Product(Product original);

}