Next Previous Up Contents
Next: Coords
Up: Functions
Previous: Arithmetic
Functions which operate on array-valued cells.
You can only use these functions on values which are already arrays.
In most cases that means on values in table columns which are declared
as array-valued. FITS and VOTable tables can have columns which contain
array values, but other formats such as CSV cannot.
-
sum( array )
-
Returns the sum of all the non-blank elements in the array.
If
array
is not a numeric array, null
is returned.
-
array
(Object): array of numbers
- return value (floating point): sum of all the numeric values in
array
-
mean( array )
-
Returns the mean of all the non-blank elements in the array.
If
array
is not a numeric array, null
is returned.
-
array
(Object): array of numbers
- return value (floating point): mean of all the numeric values in
array
-
minimum( array )
-
Returns the smallest of the non-blank elements in the array.
If
array
is not a numeric array, null
is returned.
-
array
(Object): array of numbers
- return value (floating point): minimum of the numeric values in
array
-
maximum( array )
-
Returns the largest of the non-blank elements in the array.
If
array
is not a numeric array, null
is returned.
-
array
(Object): array of numbers
- return value (floating point): maximum of the numeric values in
array
-
size( array )
-
Returns the number of elements in the array.
If
array
is not an array, zero is returned.
-
array
(Object): array
- return value (integer): size of
array
Next Previous Up Contents
Next: Coords
Up: Functions
Previous: Arithmetic
STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note256
STILTS web page:
http://www.starlink.ac.uk/stilts/
Author email:
m.b.taylor@bristol.ac.uk