Next Previous Up Contents
Next: CoordsDegrees
Up: General Functions
Previous: Coverage
Functions which operate on lists of values.
Some of these resemble similar functions in the Arrays
class,
and in some cases are interchangeable, but these are easier to use
on nonarray values because you don't have to explicitly wrap up
lists of arguments as an array.
However, for implementation reasons, most of the functions defined here
can be used on values which are already double[]
arrays
(for instance arrayvalued columns) rather than as commaseparated
lists of floating point values.

sum( values, ... )
 Returns the sum of all the nonblank supplied arguments.

mean( values, ... )
 Returns the mean of all the nonblank supplied arguments.

variance( values, ... )
 Returns the population variance of the nonblank supplied arguments.

stdev( values, ... )
 Returns the population standard deviation of the nonblank supplied
arguments.

min( values, ... )
 Returns the minimum of all the nonblank supplied arguments.

max( values, ... )
 Returns the maximum of all the nonblank supplied arguments.

median( values, ... )
 Returns the median of all the nonblank supplied arguments.

countTrue( values, ... )
 Returns the number of true values in a list of boolean arguments.
Note if any of the values are blank, the result may be blank as well.
Next Previous Up Contents
Next: CoordsDegrees
Up: General Functions
Previous: Coverage
TOPCAT  Tool for OPerations on Catalogues And Tables
Starlink User Note253
TOPCAT web page:
http://www.starlink.ac.uk/topcat/
Author email:
m.b.taylor@bristol.ac.uk
Mailing list:
topcatuser@jiscmail.ac.uk