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.
Changed in version 17.0.0: No longer validates that entries are non-negative and not all zero for each player: assigning a mixed strategy (__setitem__) now enforces this at the point of assignment, so any MixedStrategyProfile already satisfies it.
- Returns:
The normalized mixed strategy profile.
- Return type:
