diff options
author | alondria | 2008-02-10 21:28:41 +0000 |
---|---|---|
committer | alondria | 2008-02-10 21:28:41 +0000 |
commit | 758458121eda330b960731d044adeac8a6661a85 (patch) | |
tree | 0a7b47afae12983f80ccff03082aa94ed781b0f8 /OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs | |
parent | * This updates adds locking capability. Thanks, lbsa71 for pointing out my b... (diff) | |
download | opensim-SC_OLD-758458121eda330b960731d044adeac8a6661a85.zip opensim-SC_OLD-758458121eda330b960731d044adeac8a6661a85.tar.gz opensim-SC_OLD-758458121eda330b960731d044adeac8a6661a85.tar.bz2 opensim-SC_OLD-758458121eda330b960731d044adeac8a6661a85.tar.xz |
Implements llListStatistics() and a bunch-o-LSL_Types.list statistical methods. Added LIST_STAT_HARMONIC_MEAN in addition to LL's LIST_STAT_*
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs index 905ba7f..3aea72b 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs | |||
@@ -2186,9 +2186,20 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2186 | public const int STRING_TRIM_HEAD = 1; | 2186 | public const int STRING_TRIM_HEAD = 1; |
2187 | public const int STRING_TRIM_TAIL = 2; | 2187 | public const int STRING_TRIM_TAIL = 2; |
2188 | public const int STRING_TRIM = 3; | 2188 | public const int STRING_TRIM = 3; |
2189 | public const int LIST_STAT_RANGE = 0; | ||
2190 | public const int LIST_STAT_MIN = 1; | ||
2191 | public const int LIST_STAT_MAX = 2; | ||
2192 | public const int LIST_STAT_MEAN = 3; | ||
2193 | public const int LIST_STAT_MEDIAN = 4; | ||
2194 | public const int LIST_STAT_STD_DEV = 5; | ||
2195 | public const int LIST_STAT_SUM = 6; | ||
2196 | public const int LIST_STAT_SUM_SQUARES = 7; | ||
2197 | public const int LIST_STAT_NUM_COUNT = 8; | ||
2198 | public const int LIST_STAT_GEOMETRIC_MEAN = 9; | ||
2199 | public const int LIST_STAT_HARMONIC_MEAN = 100; | ||
2189 | // Can not be public const? | 2200 | // Can not be public const? |
2190 | public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); | 2201 | public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
2191 | public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); | 2202 | public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); |
2192 | 2203 | ||
2193 | } | 2204 | } |
2194 | } \ No newline at end of file | 2205 | } \ No newline at end of file |