Multiply two probabilistic numbers.
Add two probabilistic numbers.
Add two probabilistic numbers.
add xp to this
Substract two probabilistic numbers.
Compare this probabilistic number with that probabilistic number yq.
Compare this probabilistic number with that probabilistic number yq.
that probabilistic number
Compare two probabilistic numbers (negative for <, zero for ==, positive for >).
Compare two probabilistic numbers (negative for <, zero for ==, positive for >).
the first probabilistic number to compare
the second probabilistic number to compare
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Create a probabilistic number from an Int.
Create a probabilistic number from an Int.
the integer used to create the probabilistic number.
Determine whether the probabilistic number is certain (probability = 1).
the probability of its occurrence [0, 1]
Convert the probabilistic number to a Double.
Convert the probabilistic number to a Double.
the probabilistic number to convert
Convert the probabilistic number to a Float.
Convert the probabilistic number to a Float.
the probabilistic number to convert
Convert the probabilistic number to an Int.
Convert the probabilistic number to an Int.
the probabilistic number to convert
Convert the probabilistic number to a Long.
Convert the probabilistic number to a Long.
Convert this probabilistic number to a String.
Convert this probabilistic number to a String.
Compute the unary minus (-).
the real number (double precision)
The
ProbNumber
class is used to represent probabilistic numbers '(x, p)' where 'x' is a real number and 'p' is its probability of occurrence. FIX: Currently this class is half-baked!!!the real number (double precision)
the probability of its occurrence [0, 1]
http://okmij.org/ftp/Computation/monads.html#random-var-monad