[Numpy-discussion] array of arbitrary objects
Ryan Krauss
ryanlists at gmail.com
Wed May 10 20:21:03 EDT 2006
Is it possible with numpy to create arrays of arbitrary objects?
Specifically, I have defined a symbolic string class with operator
overloading for most simple math operations: 'a'*'b' ==> 'a*b'
Can I create two matrices of these symbolic string objects and
multiply those matrices together?
(simply doing array([[a,b],[c,d]]) did not work. the symbolic strings
got cast to regular strings)
Thanks,
Ryan
More information about the NumPy-Discussion
mailing list