diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-11-17 13:53:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 13:53:23 +0100 |
commit | 7540da622d88f6e21d21940984225d8363515563 (patch) | |
tree | 88569f4972ac95dab45b0b3e26722b70208a864c /doc/classes | |
parent | eb3cc0e55c4be6353ffbfafe8a5a7bb7f1a260a3 (diff) | |
parent | a74acca858b5d2f8ee07d6e0cb521dbcdce1e5f0 (diff) |
Merge pull request #49793 from Chaosus/expose_randfn
Diffstat (limited to 'doc/classes')
-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> |