pygambit.gambit.MixedStrategyProfile.as_float#

MixedStrategyProfile.as_float() MixedStrategyProfileDouble#

Creates a floating-point copy of this mixed strategy profile.

If this profile is already a MixedStrategyProfileDouble, returns a copy of it.

Added in version 17.0.0.

Returns:

A profile with the same probabilities, represented as floating-point numbers.

Return type:

MixedStrategyProfileDouble