diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-06-21 12:58:31 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-11-17 14:29:19 +0300 |
commit | a74acca858b5d2f8ee07d6e0cb521dbcdce1e5f0 (patch) | |
tree | d7840a27ff057a9345cca8830f884ab3ee5435b1 /doc | |
parent | 3c04522ece1cedccdd1d5fff919a5d4e223bed50 (diff) |
Expose `randfn` to global scope
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/@GlobalScope.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index 21b5147386..9cfe494b7f 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -723,6 +723,14 @@ [/codeblock] </description> </method> + <method name="randfn"> + <return type="float" /> + <argument index="0" name="mean" type="float" /> + <argument index="1" name="deviation" type="float" /> + <description> + Returns a normally-distributed pseudo-random floating point value using Box-Muller transform with the specified [code]mean[/code] and a standard [code]deviation[/code]. This is also called Gaussian distribution. + </description> + </method> <method name="randi"> <return type="int" /> <description> |