Skip to content

Commit f6cd36b

Browse files
committed
a bit more cleanup of session 08
1 parent 8947b52 commit f6cd36b

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

slides_sources/source/exercises/sparse_array.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Oftentimes, at least in computation programming, we have large arrays of data th
2020

2121
These are referred to as "sparse" as the information in them is widely scattered, or sparse.
2222

23-
Since they are mostly zeros, it can be memory an computationally efficient to store only the value that are non-zero.
23+
Since they are mostly zeros, it can be memory and computationally efficient to store only the value that are non-zero.
2424

2525
But you want it to look like a regular array in user code.
2626

slides_sources/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ In This Course
5151
.. toctree::
5252
:maxdepth: 2
5353

54+
extra_topics
5455
exercises/index
5556
supplements/index
5657

slides_sources/source/session08.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,11 @@ implement ``__add__``:
700700
701701
.. rst-class:: centered
702702

703-
[a more complete example may be seen :download:`here <../../Examples/Session08/vector.py>`]
703+
A more complete example may be seen in:
704704

705+
Examples/Session08/vector.py
706+
707+
or: :download:`here <../../Examples/Session08/vector.py>`
705708

706709
.. nextslide:: Summary
707710

@@ -908,16 +911,15 @@ Write a class for a sparse array:
908911
Homework
909912
========
910913

911-
reading:
912-
913-
Lambda:
914+
.. rst-class:: left
914915

915-
http://www.blog.pythonlibrary.org/2015/10/28/python-101-lambda-basics/
916+
Reading:
916917

917-
https://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/
918+
Lambda:
918919

920+
http://www.blog.pythonlibrary.org/2015/10/28/python-101-lambda-basics/
919921

920-
.. rst-class:: left
922+
https://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/
921923

922924
Complete the Circle class
923925

0 commit comments

Comments
 (0)