[PYTHON MATRIX-SIG] Bugs in 1.0alpha1

Janne Sinkkonen janne@avocado.pc.helsinki.fi
11 Aug 1996 18:09:23 +0300


I think the following may be bugs:

arange(5,3,2) produces a core dump. This seems to come down to (for 
example) zeros((-5,)) producing a core dump. 
 
minimum.reduceAt() produces a core dump.  
 
array() doesn't take a copy. Should it? (doc.html says it should) 
>>> a=array([1,2,3,4,5]) 
>>> b=array(a) 
>>> a[0]=0 
>>> b 
0 2 3 4 5 
 
diagonal() gives odd results: 
>>> d 
1 2 3 4 
5 6 7 8 
1 2 3 4 
5 6 7 8 
>>> diagonal(d) 
1 2 3 4 5 
 
sort() and argsort() do not accept two arguments. 

--
Janne

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================