Jim's
Tutorials

Fall 2013
course
navigation

Oct 15th

I haven't done much this week: I went right from being sick to being really depressed, which makes it hard for me to work.
Read.
read chapter 9 and part of 10 in Feldman: chaos and SDIC, sensitive dependence on initial conditions. Straight forward.
finished chapter 1 of Alligood, sections 1.7: SDIC and 1.8: Itineraries. I'd like to discuss itineraries more in class.
Play with python yield and generators. Draw basic bifurcation diagram in Ipy notebook.
I made a very basic iterator with yield in IPN. I also read this very good explanation of generators: http://www.jeffknupp.com/blog/2013/04/07/improve-your-python-yield-and-generators-explained/?ModPagespeed=noscript
Basically, we make a generator function, then make a generator with that function. The yield keyword allows the generator to send back a value, while also keeping track of where it left off. Thus the generator can start executing again from the next line where it left off.

Looked at what you wrote last class for the logistic map.
http://cs.marlboro.edu/ courses/ fall2013/jims_tutorials/ cspitzer/ Oct_15th
last modified Friday October 18 2013 1:23 pm EDT

attachments [paper clip]

     name last modified size
   generators_example.ipynb Oct 18 2013 1:22 pm 3.90kB