Commit 81bd714
Add IFP I lecture and restructure IFP series
- Add new ifp_discrete.md as "IFP I: Discretization and VFI"
- Implements income fluctuation problem using discretization and value function iteration
- Uses Model NamedTuple for clean parameter management
- Includes both Python loop and jax.lax.while_loop implementations for comparison
- Demonstrates proper JAX benchmarking with block_until_ready()
- Shows 3-4x speedup from using jax.lax.while_loop over plain Python
- Converts vmap implementation section to exercise format
- Rename ifp.md to ifp_egm.md as "IFP II: The Endogenous Grid Method"
- Updated title and cross-references
- Maintains continuity with new IFP I lecture
- Update _toc.yml to reflect new lecture order
- Update cross-references in ifp_advanced.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 083a4f3 commit 81bd714
File tree
4 files changed
+515
-29
lines changed- lectures
4 files changed
+515
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | | - | |
186 | | - | |
| 184 | + | |
187 | 185 | | |
188 | 186 | | |
189 | 187 | | |
| |||
197 | 195 | | |
198 | 196 | | |
199 | 197 | | |
200 | | - | |
201 | | - | |
| 198 | + | |
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
| |||
578 | 575 | | |
579 | 576 | | |
580 | 577 | | |
581 | | - | |
| 578 | + | |
582 | 579 | | |
583 | 580 | | |
584 | 581 | | |
| |||
0 commit comments