Index
SciDB Quick Reference Guide
Operators         Aggregates
adddim
allversions
 

stdev

stdev(array, attribute[, dimension1[, dimension2[, ...]]])

Create an array with the standard deviation of the indicated input array attribute values along the indicated dimensions. If no dimension is specified, compute the standard deviation of all indicated attribute values in the array.

store(build(<x:double>[i=1:10,10,0,j=1:10,10,0],10*double(random())/2147483647 + 1),A); stdev(A, x); stdev(A, x, j);

sum

sum(array[, attribute[, dimension1[, dimension2, ...]]])

Create an array that returns the sum of all attributes in the array, or just the sum of values in a specified attribute, optionally grouped along one or more dimensions.

sum(build(<x:double>[i=1:10,5,0,j=1:10,10,0], sin((double(i*j)/100))),x,i);

var

var(array[, attribute[, dimension1[, dimension2, ...]]])

Create an array that returns the variance of all attributes in the array, or just the variance of values in a specified attribute, optionally grouped along one or more dimensions.

var(build(<x:double>[i=1:10,5,0,j=1:10,10,0], sin((double(i*j)/100))),x,i);