org.codehaus.gpars

groovyx.gpars.extra166y
[Java] Interface ParallelDoubleArray.SummaryStatistics


public static interface ParallelDoubleArray.SummaryStatistics

Summary statistics for a possibly bounded, filtered, and/or mapped ParallelDoubleArray.


Method Summary
double average()

int indexOfMax()

Returns the arithmetic average of all elements

int indexOfMin()

Returns the sum of all elements

double max()

Returns the index of the maximum element, or -1 if empty

double min()

Returns the index of the minimum element, or -1 if empty

int size()

Returns the maximum element, or -Double.MAX_VALUE if empty

double sum()

 

Method Detail

average

public double average()


indexOfMax

public int indexOfMax()
Returns the arithmetic average of all elements


indexOfMin

public int indexOfMin()
Returns the sum of all elements


max

public double max()
Returns the index of the maximum element, or -1 if empty


min

public double min()
Returns the index of the minimum element, or -1 if empty


size

public int size()
Returns the maximum element, or -Double.MAX_VALUE if empty


sum

public double sum()


 

Copyright © 2008–2013 Václav Pech. All Rights Reserved.