Difference between revisions of "LIST STAT SUM SQUARES"

From Second Life Wiki
Jump to: navigation, search
(New page: {{LSL Constant |name=LIST_STAT_SUM_SQUARES |type=integer |value=7 |desc= |pa= |text= |pb= |examples |constants= <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |functions= {{LSL DefineRow||[[llListS...)
 
m
Line 3: Line 3:
 
|type=integer
 
|type=integer
 
|value=7
 
|value=7
|desc=
+
|desc=Calculates the sum of the squares of the numbers in a list. 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''.
 
|pa=
 
|pa=
 
|text=
 
|text=

Revision as of 11:19, 10 April 2008

Description

Constant: integer LIST_STAT_SUM_SQUARES = 7;

The integer constant LIST_STAT_SUM_SQUARES has the value 7

Calculates the sum of the squares of the numbers in a list. 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.

Related Articles

Functions

•  llListStatistics

Deep Notes

Search JIRA for related Issues

Signature

integer LIST_STAT_SUM_SQUARES = 7;