[Matrix-SIG] Zeros
Konrad Hinsen
hinsen@cnrs-orleans.fr
Tue, 1 Feb 2000 18:02:56 +0100
> I would like to see even more support for non-numeric types, for the
> following reason: I could use the same NumPy code to approach problems
> from either a symbolic and a numerical approach. E.g. I would like to
> create a symbolic "Polynomial" class, populate a matrix with these
> objects, then call some Numeric functions to perform symbolic algebra.
Me too. In fact, I have done precisely this (there's a Polynomial
class in ScientificPython), and fortunately I did not run into any
NumPy bug with object arrays in my rather small application. In
another application I used object arrays with automatic
differentiation (i.e. arrays containing the DerivVar objects defined
in ScientificPython). And I could well imagine uses for arrays of
rational numbers (available in a module called yarn from somewhere).
I suspect that many uses for object arrays would appear once people
consider them safe to use for real life.
Konrad.
--
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron | Fax: +33-2.38.63.15.17
45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
France | Nederlands/Francais
-------------------------------------------------------------------------------