# Computation

## (Macro)Economics

- Wouter den Haan's notes
- Quantitative Economics, lecture notes by Sargent and Stachurski, Python and Julia
- Open Source Macroeconomics Laboratory Bootcamp (BFI, University of Chicago)
- Center for Macroeconomics software listing
- Heterogenous Agents Resources & toolKit using Python/Anaconda
- Code appendices for papers published in RED, mostly Matlab and Fortran

## Fortran

- Free ("gratis") compiler with MPI and OpenACC for Windows: PGI CE (from Nvidia!)
- A user-friendly, up-to-date Windows port of gcc, g++, and gfortran
- Another Windows option, not free: SimplyFortran with a MS-MPI Package
- Gordon's notes on Computational Macro with Fortran (exceptionally excellent!)
- The Fortran Wiki
- F95 Self-study handout (pdf) by Padman
- Fortran and Gauss code for the Heer and Maussner textbook.
- Coarrays over MPI with gfortran 5 or newer
- bsplines, 1-D to 6-D, with optional OO interface
- Minpack, for systems of equations
- NLopt, for constrained, (derivative-free) local and global maximization

## Julia

- Maximization: JuMP with NLopt.jl
- QuantEcon.jl code, with documentation (time series, dynamic programming, LQ, etc.)
- Root-finding and systems of equations: NLsolve.jl
- Interpolation: Interpolations and Dierckx.jl (1- and 2-D only).

## C++

- The wiki reference for C++ and the STL
- Multidimensional array templates: Boost::Multi_Array, Armadillo
- Optimization and Root-Finding: NLopt, IMSL (commercial), dlib
- Akima splines 1- to 3-D, with gradients
- How-to mix C++11 and Fortran 2008

## Typesetting with LaTeX

- Embed MATLAB plots as TikZ figures with matlab2tikz
- TikzEdt, a largely WYSIWYG editor for TikZ diagrams
- The Ipe extensible drawing editor, LaTeX-based
- Find the name of any symbol or character by sketching it, with Detexify
- The Excel2LaTeX add-in, for table layout mock-ups. Better output with booktabs.