LIST STAT SUM SQUARES
Looking for the current API? Open the LIST_STAT_SUM_SQUARES reference →
Wiki description
Calculates the sum of the squares of the numbers in a list.
float sum_of_squares = llListStatistics( LIST_STAT_SUM_SQUARES, numList );That is, for each number N_i in a list of k elements, it calculates N_1*N_1 + N_2*N_2 + ... + N_k * N_k.
See also: constants
See also: functions
See also: events
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.