[Matrix-SIG] Problem with integer arrays?

Charles G Waldman cgw@pgt.com
Fri, 2 Oct 1998 17:33:29 -0400 (EDT)


Python 1.5 (#5, Sep 14 1998, 17:26:48)  [GCC 2.7.2.3] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Numeric
>>> Numeric.__version__
'1.4'
>>> a = Numeric.array((0.,0.))
>>> a**2
array([ 0.,  0.])
>>> a = Numeric.array((0,0))
>>> a**2
Traceback (innermost last):
  File "<stdin>", line 1, in ?
OverflowError: math range error