This trait defines the operations of a Probability
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait () => Doubleclass Objecttrait Matchableclass Any
- Known subtypes
-
class GenericProbabilityclass RationalProbability[N]
Members list
Value members
Abstract methods
Method to form the complement of this probability
Method to form the complement of this probability
Attributes
- Returns
-
the probability whose numerical value is 1 - this
Method to form the conjunction (product) of this and another probability.
Method to form the conjunction (product) of this and another probability.
Value parameters
- p
-
the other Probability
Attributes
- Returns
-
the conjunction of this and p
Method to factor this probability by a scalar value
Method to factor this probability by a scalar value
Attributes
- Returns
-
this probability factored by x
Method to form the disjunction (sum) of this and another probability. Note that the two probability must of independent events for this to yield the correct answer
Method to form the disjunction (sum) of this and another probability. Note that the two probability must of independent events for this to yield the correct answer
Value parameters
- p
-
the other Probability
Attributes
- Returns
-
the disjunction of this and p
Inherited methods
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Function0 -> Any
- Inherited from:
- Function0
Inherited and Abstract methods
Applies the body of this function to the arguments.
Applies the body of this function to the arguments.
Attributes
- Returns
-
the result of function application.
- Inherited from:
- Function0