[Numpy-discussion] [IPython-dev] Discussion with Guido van Rossum and (hopefully) core python-dev on scientific Python and Python3

Chris Barker chris.barker@noaa....
Tue Feb 14 10:59:55 CST 2012

On Mon, Feb 13, 2012 at 6:19 PM, Mark Wiebe <mwwiebe@gmail.com> wrote:
> It might be nice to turn the matrix class into a short class hierarchy,

am I confused, or did a thread get mixed in? This seems to be a
numpy/scipy thing, not a Python3 thing. Or is there some support in
Python itself required for this to be practical?

> something like this:
> class MatrixBase
> class DenseMatrix(MatrixBase)
> class TriangularMatrix(MatrixBase) # Maybe a few variations of upper/lower
> triangular and whether the diagonal is stored
> class SymmetricMatrix(MatrixBase)

and while we're at it -- first class support for "row vector" and
"column vector" -- it seems that the use of the MAtrix class has never
really caught on, and the fact that there is no way to represent these
two vectors cleanly is perhaps one important missing feature. See the
numpy list from I think a couple years ago for discussion -- we had
great idea, no one who knew how cared enough to implement them.



Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the NumPy-Discussion mailing list