Difference between revisions of "Lab assignments for ISC-4304"
Line 11: | Line 11: | ||
* Lab 9 Combining Python with C++ using boost::python [[Media:isc4304lab9.pdf | PDF]] | * Lab 9 Combining Python with C++ using boost::python [[Media:isc4304lab9.pdf | PDF]] | ||
* Lab 10 Speeding up a python program using Cython [[Media:isc4304lab10.pdf | PDF]] Code to improve is this [http://people.sc.fsu.edu/~pbeerli/downloads/classes/mandelbrot.zip Mandelbrot Python program] (this example [ [http://people.sc.fsu.edu/~pbeerli/downloads/classes/integration.zip 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 10 Speeding up a python program using Cython [[Media:isc4304lab10.pdf | PDF]] Code to improve is this [http://people.sc.fsu.edu/~pbeerli/downloads/classes/mandelbrot.zip Mandelbrot Python program] (this example [ [http://people.sc.fsu.edu/~pbeerli/downloads/classes/integration.zip 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 10 Speeding up even more by running in parallel [[Media:isc4304lab11.pdf | PDF]] |
Revision as of 08:05, 17 April 2015
- 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 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 10 Speeding up even more by running in parallel PDF