Probability vector (source code)

= Probability vector
{wiki=Probability_vector}

A probability vector is a mathematical object that represents a probability distribution over a discrete set of outcomes. In simpler terms, it's a vector (an ordered list) where each element corresponds to the probability of a particular outcome occurring, and the sum of all the probabilities in the vector equals one. \#\#\# Key Characteristics of a Probability Vector: 1. **Non-negativity**: Each element of the probability vector must be non-negative. This means that the probability of any outcome cannot be less than zero.