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)
T
opCall
(RNG* gen)
struct
PiecewiseLinearVariable
(T)
T
opCall
(
RNG
)
(
scope
RNG
*
gen
)
if
(
isSaturatedRandomEngine
!
RNG
)
if
(
isFloatingPoint
!
T
)
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.