.. Created by Adam Cunnningham on Sat Dec 10 2016. **Week 4: February 20 - 24** ============================= Floating-Point Arithmetic - Hazards and Fixes --------------------------------------------- Our exploration of floating-point arithmetic continues with an examination of common problems that can arise, and the ways in which these problems can be avoided. Week 4 Notebook --------------- - `View online <./Week4Notebook.html>`_ - :download:`Download <../Lessons/Week4/Week4Notebook.ipynb>` Jupyter Notebook ---------------- - IPython "magics": %timeit and %%timeit Python ------ - List concatenation - List indexing and slicing NumPy ----- NumPy is the standard package for numerical computing in Python. It uses a new container for numerical data - the ndarray - that supports fast and efficient computation. NumPy also defines routines for accessing and manipulating these arrays. - Array creation - Array operations - Vectorization - **where** Matplotlib ---------- - **legend** - **xlim**, **ylim** Quiz 3: Markdown and LaTeX -------------------------- - Headers - Formatting text - Mathematical expressions :download:`Sample Quiz 3 <../Quizzes/Quiz3Sample.pdf>` Report 2 -------- :doc:`python_floating_point`