pygambit.gambit.MixedBehaviorProfile.as_float#

MixedBehaviorProfile.as_float() MixedBehaviorProfileDouble#

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

If this profile is already a MixedBehaviorProfileDouble, 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:

MixedBehaviorProfileDouble