Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EHN: Add payoff_profile_array #161

Merged
merged 3 commits into from
Nov 15, 2022
Merged

EHN: Add payoff_profile_array #161

merged 3 commits into from
Nov 15, 2022

Conversation

oyamad
Copy link
Member

@oyamad oyamad commented Nov 15, 2022

Close #7

julia> g = NormalFormGame(randn(3, 2, 2))
3×2 NormalFormGame{2, Float64}

julia> print(g)
3×2 NormalFormGame{2, Float64}:
 [1.00783, -0.217958]  [0.888136, -1.82716]
 [0.759667, 0.945713]  [0.217776, -0.718575]
 [-0.224237, 0.42577]  [-0.338728, 0.679999]
julia> g.players[1]
3×2 Player{2, Float64}:
  1.00783    0.888136
  0.759667   0.217776
 -0.224237  -0.338728

julia> g.players[2]
2×3 Player{2, Float64}:
 -0.217958   0.945713  0.42577
 -1.82716   -0.718575  0.679999

@oyamad oyamad merged commit 563a412 into master Nov 15, 2022
@oyamad oyamad deleted the payoff_profile_array branch November 15, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

payoff_profile_array method
1 participant