@Test public void testSliceOf() throws Exception { double[] array = Dbl.array(0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0); double[] array2 = Dbl.sliceOf(array, 0, 100); Dbl.equalsOrDie(array, array2); }
@Universal public static double[] sliceOf( double[] array, int startIndex, int endIndex ) { return slc(array, startIndex, endIndex); }
Dbl { @Universal public static double[] sliceOf( double[] array, int startIndex, int endIndex ) { return slc(array, startIndex, endIndex); } }
Dbl { @Universal public static double[] sliceOf( double[] array, int startIndex, int endIndex ) { return slc(array, startIndex, endIndex); }  }
Dbl { @Universal public static double[] sliceOf( double[] array, int startIndex, int endIndex ) { return slc(array, startIndex, endIndex); }  static double[] grow( double[] array, final int size ); static double[] grow( double[] array ); static double[] shrink( double[] array, int size ); static double[] compact( double[] array ); static double[] arrayOfDouble( final int size ); @Universal static double[] array( final double... array ); @Universal static int len( double[] array ); @Universal static double idx( final double[] array, final int index ); @Universal static void idx( final double[] array, int index, double value ); @Universal static double[] sliceOf( double[] array, int startIndex, int endIndex ); @Universal static double[] slc( double[] array, int startIndex, int endIndex ); @Universal static double[] slc( double[] array, int startIndex ); @Universal static double[] endSliceOf( final double[] array, final int endIndex ); @Universal static double[] slcEnd( final double[] array, final int endIndex ); @Universal static boolean in( double value, double[] array ); @Universal static double[] copy( double[] array ); @Universal static double[] add( double[] array, double v ); @Universal static double[] add( double[] array, double[] array2 ); @Universal static double[] insert( final double[] array, final int idx, final double v ); @Universal static double[] insert( final double[] array, final int fromIndex, final double[] values ); static boolean equalsOrDie(double[] expected, double[] got); static boolean equals(double[] expected, double[] got); static double reduceBy( final double[] array, ReduceBy reduceBy ); static double reduceBy( final double[] array, final int start, final int length, ReduceBy reduceBy ); static double reduceBy( final double[] array, final int length, ReduceBy reduceBy ); static double reduceBy( final double[] array, T object ); static double reduceBy( final double[] array, T object, String methodName ); static double reduceBy( final double[] array,  int length,
                                   Object object ); static double reduceBy( final double[] array,  int length,
                                   Object function, String functionName ); static double reduceBy( final double[] array, int start, int length,
                                   Object object ); static boolean equalsOrDie(double expected, double got); static boolean equals(double expected, double got); static double sum( double[] values ); static double sum( double[] values,  int length ); static double sum( double[] values, int start, int length ); static double max( double[] values, final int start, final int length ); static double max( double[] values ); static double max( double[] values, int length ); static double min( double[] values, final int start, final int length ); static double min( double[] values ); static double min( double[] values, int length ); static double mean( double[] values, final int length ); static double mean( double[] values ); static double variance(double[] values, final int start, final int length); static double varianceDouble(double[] values, final int start, final int length); static double variance(double[] values,  final int length); static double variance(double[] values); static double standardDeviation(double[] values, final int start, final int length); static double standardDeviation(double[] values,  final int length); static double standardDeviation(double[] values); static double median(double[] values, final int start, final int length); static double median(double[] values, final int length); static double median(double[] values); static boolean equals(int start, int end, double[] expected, double[] got); static int hashCode(double array[]); static int hashCode(int start, int end, double array[]); }
Dbl { @Universal public static double[] sliceOf( double[] array, int startIndex, int endIndex ) { return slc(array, startIndex, endIndex); }  static double[] grow( double[] array, final int size ); static double[] grow( double[] array ); static double[] shrink( double[] array, int size ); static double[] compact( double[] array ); static double[] arrayOfDouble( final int size ); @Universal static double[] array( final double... array ); @Universal static int len( double[] array ); @Universal static double idx( final double[] array, final int index ); @Universal static void idx( final double[] array, int index, double value ); @Universal static double[] sliceOf( double[] array, int startIndex, int endIndex ); @Universal static double[] slc( double[] array, int startIndex, int endIndex ); @Universal static double[] slc( double[] array, int startIndex ); @Universal static double[] endSliceOf( final double[] array, final int endIndex ); @Universal static double[] slcEnd( final double[] array, final int endIndex ); @Universal static boolean in( double value, double[] array ); @Universal static double[] copy( double[] array ); @Universal static double[] add( double[] array, double v ); @Universal static double[] add( double[] array, double[] array2 ); @Universal static double[] insert( final double[] array, final int idx, final double v ); @Universal static double[] insert( final double[] array, final int fromIndex, final double[] values ); static boolean equalsOrDie(double[] expected, double[] got); static boolean equals(double[] expected, double[] got); static double reduceBy( final double[] array, ReduceBy reduceBy ); static double reduceBy( final double[] array, final int start, final int length, ReduceBy reduceBy ); static double reduceBy( final double[] array, final int length, ReduceBy reduceBy ); static double reduceBy( final double[] array, T object ); static double reduceBy( final double[] array, T object, String methodName ); static double reduceBy( final double[] array,  int length,
                                   Object object ); static double reduceBy( final double[] array,  int length,
                                   Object function, String functionName ); static double reduceBy( final double[] array, int start, int length,
                                   Object object ); static boolean equalsOrDie(double expected, double got); static boolean equals(double expected, double got); static double sum( double[] values ); static double sum( double[] values,  int length ); static double sum( double[] values, int start, int length ); static double max( double[] values, final int start, final int length ); static double max( double[] values ); static double max( double[] values, int length ); static double min( double[] values, final int start, final int length ); static double min( double[] values ); static double min( double[] values, int length ); static double mean( double[] values, final int length ); static double mean( double[] values ); static double variance(double[] values, final int start, final int length); static double varianceDouble(double[] values, final int start, final int length); static double variance(double[] values,  final int length); static double variance(double[] values); static double standardDeviation(double[] values, final int start, final int length); static double standardDeviation(double[] values,  final int length); static double standardDeviation(double[] values); static double median(double[] values, final int start, final int length); static double median(double[] values, final int length); static double median(double[] values); static boolean equals(int start, int end, double[] expected, double[] got); static int hashCode(double array[]); static int hashCode(int start, int end, double array[]);  }