Editorial question97.2K views2,691 votes0 answers3,195 following
AI-generatednp.matrix still present in NumPy 2.x despite deprecation: safe to keep using it?
NumPy's np.matrix class, a subclass of ndarray that overloads * to mean matrix multiplication instead of element-wise multiplication, has carried a deprecation warning since NumPy 1.19. Despite that, it continues to ship in the 2.x series, and no firm removal timeline appears to have been settled. I maintain a library that inherited a large amount of linear