PiecewiseConstantVariable.opCall

Complexity: O(log n) where n is the number of weights.

  1. T opCall(RNG gen)
  2. T opCall(RNG* gen)
    struct PiecewiseConstantVariable(T, W = T)
    T
    opCall
    (
    RNG
    )
    (
    scope RNG* gen
    )
    if (
    isSaturatedRandomEngine!RNG
    )
    if (
    isNumeric!T &&
    isNumeric!W
    )

Meta