pygambit.gambit.MixedStrategyProfile.normalize#
- MixedStrategyProfile.normalize() MixedStrategyProfile #
Create a profile with the same strategy proportions as this one, but normalised so probabilities for each player sum to one. Requires that all players have non-negative entries that are not all equal to zero.
- Returns:
The normalized mixed strategy profile.
- Return type:
- Raises:
ValueError – If the input mixed strategy of any player is all zero or has a negative entry.