Open
Description
After a slight brush with DenseMatrix, here's some stuff I found not working that well:
- DenseMatrix is missing
__sub__
, currently can doA+B
, but notA-B
. - DenseMatrix does not support left side multiple with a Basic, that is
Symbol('x')*A
fails. Add__rmul__
or modify Basic? - Adding and multiplying of DenseMatrix objects of incompatible size should result in Python errors/exceptions, not crashes.
- Indexing of a single column or row matrix should work with a single index, like
A[1]
. - Add vector specific methods like dot, norm, cross (I suppose this should be done on the symengine/C++ side actually first).