cmp

Return the probability that a op b, where op is < / <= / > / >=, and a and b are numbers or ranges representing a uniform distribution.

  1. Probability cmp(A a, B b)
    template cmp(string op)
    cmp
    (
    A
    B
    )
    (
    A a
    ,
    B b
    )
    if (
    !is(A : Range!AV,
    AV
    ) &&
    !is(B : Range!BV,
    BV
    )
    )
    if (
    op.isOneOf("<", "<=", ">", ">=")
    )
  2. Probability cmp(A a, B b)
  3. Probability cmp(A a, B b)
  4. Probability cmp(A a, B b)

Members

Functions

cmp
Probability cmp(A a, B b)
Undocumented in source. Be warned that the author may not have intended to support it.
cmp
Probability cmp(A a, B b)
Undocumented in source. Be warned that the author may not have intended to support it.
cmp
Probability cmp(A a, B b)
Undocumented in source. Be warned that the author may not have intended to support it.
cmp
Probability cmp(A a, B b)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta