AaltoSciComp / python-for-scicomp

Python for scientific computing course
https://aaltoscicomp.github.io/python-for-scicomp/
Other
20 stars 29 forks source link

numpy: matrix class not recommended #67

Closed bast closed 4 years ago

bast commented 4 years ago

https://numpy.org/doc/stable/reference/generated/numpy.matrix.html

but it's used in some exercise

bast commented 4 years ago

It is no longer recommended to use this class, even for linear algebra. Instead use regular arrays. The class may be removed in the future.

rkdarst commented 4 years ago

is there enough info if I completely remove the last bit amount matrices and there are no exercises there? I think it's probably good time-wise, but are we getting short on advanced content?

Option is to replace it with some other intermediate topic (1-2 paragraphs worth)

bast commented 4 years ago

If we are worried about too little material, I would add matrix multiplication or matrix diagonalization.

eglerean commented 4 years ago

Also in the two breakout rooms where I was the class matrix felt obsolete and they did not understand the point of it. I would drop that part and maybe if there is really time for extra exercises, the last chunk of optional exercises is enough to cover any extra spare time.