Skip to content
lsl.devlsl.devLSL Dev

ListStatisticsOperation

Constants in the ListStatisticsOperation enum.

All constant groups

At a glance, from the LSL definitions
integer LIST_STAT_GEOMETRIC_MEAN = 9;  // Option used with llListStatistics to calculate the geometric mean of a list of numbers.integer LIST_STAT_MAX = 2;  // Option used with llListStatistics to find the largest number in the list.integer LIST_STAT_MEAN = 3;  // Option used with llListStatistics to calculate the mean (average) of the numbers in the list.integer LIST_STAT_MEDIAN = 4;  // Option used with llListStatistics to calculate the median of the numbers in the list.integer LIST_STAT_MIN = 1;  // Option used with llListStatistics to find the smallest number in the list.integer LIST_STAT_NUM_COUNT = 8;  // Option used with llListStatistics to determine the count of float and integer elements in the list.integer LIST_STAT_RANGE = 0;  // Option used with llListStatistics to calculate the range (maximum value minus minimum value) of the list.integer LIST_STAT_STD_DEV = 5;  // Option used with llListStatistics to calculate the sample standard deviation of a list of numbers.integer LIST_STAT_SUM = 6;  // Option used with llListStatistics to calculate the sum of the numbers in the list.integer LIST_STAT_SUM_SQUARES = 7;  // Option used with llListStatistics to calculate the sum of the squares of the numbers in the list.

Constants

ConstantTypeValueDescription
LIST_STAT_GEOMETRIC_MEANinteger9Option used with llListStatistics to calculate the geometric mean of a list of numbers.
LIST_STAT_MAXinteger2Option used with llListStatistics to find the largest number in the list.
LIST_STAT_MEANinteger3Option used with llListStatistics to calculate the mean (average) of the numbers in the list.
LIST_STAT_MEDIANinteger4Option used with llListStatistics to calculate the median of the numbers in the list.
LIST_STAT_MINinteger1Option used with llListStatistics to find the smallest number in the list.
LIST_STAT_NUM_COUNTinteger8Option used with llListStatistics to determine the count of float and integer elements in the list.
LIST_STAT_RANGEinteger0Option used with llListStatistics to calculate the range (maximum value minus minimum value) of the list.
LIST_STAT_STD_DEVinteger5Option used with llListStatistics to calculate the sample standard deviation of a list of numbers.
LIST_STAT_SUMinteger6Option used with llListStatistics to calculate the sum of the numbers in the list.
LIST_STAT_SUM_SQUARESinteger7Option used with llListStatistics to calculate the sum of the squares of the numbers in the list.

Used by