ae v0.0.3053 (2021-06-01T17:26:23Z)
Home
Dub
Repo
Range.fuzzyAssign
ae
utils
math
distribution
Range
Apply a
prob
chance that
this
equals
val
.
Range
!
T
fuzzyAssign
(Range!T val, double prob)
Range
!
T
fuzzyAssign
(T val, double prob)
struct
Range
(T)
Range
!
T
fuzzyAssign
(
T
val
,
double
prob
= 0.5
)
T
lo
;
T
hi
;
T
avg
;
Meta
Source
See Implementation
ae
utils
math
distribution
Range
functions
fuzzyAssign
opBinary
opBinaryRight
opCast
to
toString
variables
avg
hi
lo
Apply a prob chance that this equals val.