On Mon, Feb 13, 2012 at 6:19 PM, Mark Wiebe <mwwi...@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. -Chris -- Christopher Barker, Ph.D. Oceanographer 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 chris.bar...@noaa.gov _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion