Difference between revisions of "Lab assignments for ISC-4304"
Peter Beerli (talk | contribs) |
Peter Beerli (talk | contribs) |
||
Line 12: | Line 12: | ||
* Lab 8 Translation of the numerical n-ODE example to C++ [[Media:isc4304lab8S2017.pdf | PDF]] <br> | * Lab 8 Translation of the numerical n-ODE example to C++ [[Media:isc4304lab8S2017.pdf | PDF]] <br> | ||
* Lab 9 Combining Python with C++ using boost::python [[Media:isc4304lab9S2017.pdf | PDF]] | * Lab 9 Combining Python with C++ using boost::python [[Media:isc4304lab9S2017.pdf | PDF]] | ||
+ | * Lab 10 Speeding up a python program using Cython [[Media:isc4304lab10S2017.pdf | PDF]] Code to improve is this [http://peterbeerli.com/classdata/ISC4304/codes/mandelbrot.zip Mandelbrot Python program] (look at the lectures on cython [integration and Juliaset examples) for details how to run cython) | ||
<br> | <br> | ||
== Old labs == | == Old labs == |
Revision as of 09:46, 18 April 2017
( Syllabus Classnotes Homework Lab Resources Fun)
Lab for Spring 2017
- Lab 1: Python, learn basic python commands and write a simple function PDF
- Lab 2: Python, simple book analysis PDF
- Lab 3: Python, Conway's Game of Life PDF
(Some description of Conway's Game of Life PDF)
- Lab 4 Plotting with matplotlib PDF
- Lab 5 n-ODE lab PDF
- Lab 6 Bayesian inference on 4-sided dice data using Python PDF
- Lab 7 Bayesian inference on 4-sided dice data using C++ PDF
- Lab 8 Translation of the numerical n-ODE example to C++ PDF
- Lab 9 Combining Python with C++ using boost::python PDF
- Lab 10 Speeding up a python program using Cython PDF Code to improve is this Mandelbrot Python program (look at the lectures on cython [integration and Juliaset examples) for details how to run cython)
Old labs
- Lab 1: Python, learn basic python commands and write a simple function PDF
- Lab 2: Python, simple book analysis PDF
- Lab 3: Python, Conway's Game of Life PDF
- Lab 3 Addendum: Python and Matplotlib, Conway's Game of Life PDF
- Lab 4 Plotting with matplotlib PDF
- Lab 5 n-ODE lab PDF
- Lab 6 Bayesian inference on 4-sided dice data using Python PDF
- Lab 7 Bayesian inference on 4-sided dice data using C++ PDF
- Lab 8 Translation of the numerical n-ODE example to C++ PDF Small Vector library
- Lab 9 Combining Python with C++ using boost::python PDF
- Lab 10 Speeding up a python program using Cython PDF Code to improve is this Mandelbrot Python program (this example [ integration.zip from the last class may help to set up the cython compile using the setup.py, it needs to be called like this: python setup.py build_ext --inplace )
- Lab 11 Speeding up even more by running in parallel PDF