The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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)
Meta
Source
See Implementation
mir
random
variable
PiecewiseLinearVariable
constructors
this
functions
max
min
opCall
manifest constants
isRandomVariable
Complexity: O(log n) where n is the number of weights.