... | @@ -39,7 +39,7 @@ I may reference materials (e.g., lecture notes) and topics from various courses, |
... | @@ -39,7 +39,7 @@ I may reference materials (e.g., lecture notes) and topics from various courses, |
|
- **CS 417 - Computational Methods & Software**
|
|
- **CS 417 - Computational Methods & Software**
|
|
- [Python non-linear solver discussion](https://www.cs.odu.edu/~tkennedy/cs417/f20/Public/solverDiscussion/)
|
|
- [Python non-linear solver discussion](https://www.cs.odu.edu/~tkennedy/cs417/f20/Public/solverDiscussion/)
|
|
|
|
|
|
I will also reference a couple examples from the previous:
|
|
I may also reference a couple examples from the previous:
|
|
|
|
|
|
- [Git workshop](https://www.cs.odu.edu/~tkennedy/git-workshop)
|
|
- [Git workshop](https://www.cs.odu.edu/~tkennedy/git-workshop)
|
|
- [Python workshop](https://git-community.cs.odu.edu/tkennedy/python-workshop/-/wikis/Python-Workshop)
|
|
- [Python workshop](https://git-community.cs.odu.edu/tkennedy/python-workshop/-/wikis/Python-Workshop)
|
... | @@ -47,11 +47,6 @@ I will also reference a couple examples from the previous: |
... | @@ -47,11 +47,6 @@ I will also reference a couple examples from the previous: |
|
- [Rust workshop](https://www.cs.odu.edu/~tkennedy/rust-workshop)
|
|
- [Rust workshop](https://www.cs.odu.edu/~tkennedy/rust-workshop)
|
|
|
|
|
|
|
|
|
|
## The Broad Strokes
|
|
|
|
|
|
|
|
I will focus on:
|
|
|
|
|
|
|
|
|
|
|
|
# Overview
|
|
# Overview
|
|
|
|
|
|
*What is [NumPy](https://numpy.org/)?*
|
|
*What is [NumPy](https://numpy.org/)?*
|
... | @@ -66,6 +61,33 @@ I will focus on: |
... | @@ -66,6 +61,33 @@ I will focus on: |
|
>
|
|
>
|
|
> Retrieved from <https://numpy.org/doc/stable/user/whatisnumpy.html>
|
|
> Retrieved from <https://numpy.org/doc/stable/user/whatisnumpy.html>
|
|
|
|
|
|
|
|
We can only scratch the surface during a one (1) hour workshop.
|
|
|
|
|
|
|
|
|
|
|
|
# Examples
|
|
|
|
|
|
|
|
The first few examples will be short and focus on arrays and statistics. These
|
|
|
|
examples are inspired by [*Coffee Break NumPy* by Christian
|
|
|
|
Mayer](https://www.amazon.com/Coffee-Break-NumPy-Science-Mastery/dp/1076932614)
|
|
|
|
|
|
|
|
**Creating Arrays**
|
|
|
|
|
|
|
|
**I/O**
|
|
|
|
|
|
|
|
**Indexing**
|
|
|
|
|
|
|
|
**Index Arrays**
|
|
|
|
|
|
|
|
**Boolean (Mask) Index Arrays**
|
|
|
|
|
|
|
|
**Broadcasting**
|
|
|
|
|
|
|
|
**Linear Algebra**
|
|
|
|
|
|
|
|
**Statistics**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|