Skip to content

Add notebook on Games.jl/normal_form_game.jl#28

Merged
mmcky merged 2 commits intomasterfrom
game_theory_jl
Mar 16, 2016
Merged

Add notebook on Games.jl/normal_form_game.jl#28
mmcky merged 2 commits intomasterfrom
game_theory_jl

Conversation

@mmcky
Copy link
Copy Markdown
Contributor

@mmcky mmcky commented Mar 14, 2016

Notebook for QuantEcon/QuantEcon.jl#95.

  • The function cournot in cell [18] is type-unstable and is very slow for the case of N=4. With the current implementation, the input integer N cannot be used for type declaration (if I understand correctly). I have a type-stable version which uses @generated, but it is kind of advanced and so I hesitate to put it in a demonstration notebook.

@oyamad Apologies - I merged the wrong PR.
This restores the PR and adds the latest version of the game_theory_jl.ipynb file from commit 9886d2865dbc75231ab93174e5cc55636f4cd23.

@mmcky mmcky changed the title Re add notebook from commit e9886d2865dbc75231ab93174e5cc55636f4cd23 … [WIP] Add notebook on game_theory/normal_form_game.jl Mar 14, 2016
@oyamad
Copy link
Copy Markdown
Member

oyamad commented Mar 15, 2016

This now uses Games.jl.

@oyamad oyamad changed the title [WIP] Add notebook on game_theory/normal_form_game.jl Add notebook on Games.jl/normal_form_game.jl Mar 15, 2016
@oyamad
Copy link
Copy Markdown
Member

oyamad commented Mar 15, 2016

The type-instability still remains for the function cournot in cell [18]. If we leave it as is for the moment, we can merge this now.

mmcky added a commit that referenced this pull request Mar 16, 2016
Add notebook on Games.jl/normal_form_game.jl
@mmcky mmcky merged commit f753b10 into master Mar 16, 2016
@mmcky mmcky deleted the game_theory_jl branch March 16, 2016 16:16
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.

2 participants