[Numpy-discussion] deprecate numpy.matrix

Pauli Virtanen pav at iki.fi
Tue Feb 11 06:47:05 EST 2014

Sturla Molden <sturla.molden <at> gmail.com> writes:
> Pauli Virtanen <pav <at> iki.fi> wrote:
> > It is not a good thing that there is no well defined
> > "domain specific language" for matrix algebra in Python.
> Perhaps Python should get some new operators?

It might still be possible to advocate for this in core Python,
even though the ship has sailed long ago.

Some previous discussion:

[1] http://fperez.org/py4science/numpy-pep225/numpy-pep225.html
[2] http://www.python.org/dev/peps/pep-0225/
[3] http://www.python.org/dev/peps/pep-0211/

(My own take would be that one extra operator is enough for most
purposes, and would be easier to push for.)

> On the serious side, I don't think there really is a good solution to this
> problem at all.

This is true. However, I'd prefer to have one solution over several
conflicting ones.

Pauli Virtanen

More information about the NumPy-Discussion mailing list