mir-random — Libmir Archive
← Libmir Archive
Dlang.org
PiecewiseLinearVariable.opCall
mir
random
variable
PiecewiseLinearVariable
Complexity:
O(log n)
where
n
is the number of
weights
.
T
opCall
(RNG gen)
struct
PiecewiseLinearVariable
(T)
T
opCall
(
RNG
)
(
scope
ref
RNG
gen
)
if
(
isSaturatedRandomEngine
!
RNG
)
if
(
isFloatingPoint
!
T
)
T
opCall
(RNG* gen)
mir
random
variable
PiecewiseLinearVariable
constructors
this
functions
max
min
opCall
manifest constants
isRandomVariable
Complexity: O(log n) where n is the number of weights.