LIST STAT MEDIAN/ja

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

解説

定数: integer LIST_STAT_MEDIAN = 4;

integer 定数 LIST_STAT_MEDIAN の値は 4 です。

リストの数値の中央値 (メディアン) を返します。 <lsl> float median = llListStatistics( LIST_STAT_MEDIAN, numList ); </lsl> 中央値とは、リストの半分がそれより小さく、半分がそれより大きいという値の事です。例えば [1,1,1,2,1000,1000,1000] の中央値は 2 です。(算術平均値は 429.3)

関連記事

関数

•  llListStatistics

特記事項

この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)