ae v0.0.3141 (2022-02-14T00:51:10Z)
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.