... | ... | @@ -316,7 +316,7 @@ A Gaussian Elimination Matrix solver can viewed as [4 operations](https://www.cs |
|
|
3. Eliminate
|
|
|
4. Backsolve
|
|
|
|
|
|
For our implementation... these operatrionrs will be wrapped in a
|
|
|
For our implementation... these operations will be wrapped in a
|
|
|
`solve_matrix` function...
|
|
|
|
|
|
```python
|
... | ... | @@ -469,7 +469,7 @@ The first step is to convert the table into... |
|
|
students = ["John", "Tom", "Bob"]
|
|
|
```
|
|
|
|
|
|
- a Numpy `ndarray`
|
|
|
- a NumPy `ndarray`
|
|
|
|
|
|
```python
|
|
|
grades = np.array([[100., 98, 100., 90.],
|
... | ... | @@ -477,7 +477,7 @@ The first step is to convert the table into... |
|
|
[100., 70., 90., 80.]])
|
|
|
```
|
|
|
|
|
|
Numpy provides a number of [statistics
|
|
|
NumPy provides a number of [statistics
|
|
|
operations](https://numpy.org/doc/stable/reference/arrays.ndarray.html#array-methods)
|
|
|
that can be applied by axis. For a two-dimensional `ndarray` there are two
|
|
|
choices:
|
... | ... | |