ae ~master (2024-01-05T13:09:51Z)
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.