KSLCore
Toggle table of contents
R1.2.1
jvm
Platform filter
jvm
Switch theme
Search in API
KSLCore
KSLCore
/
ksl.utilities.random.rng
/
RNStreamIfc
/
rSign
r
Sign
open
fun
rSign
(
pSuccess
:
Double
=
0.5
)
:
Double
Returns a randomly generated sign -1 or +1
Parameters
p
Success
the probability of getting + 1. The default is 0.5.