[PYTHON MATRIX-SIG] Keyword arguments for ufuncs

tim@lassi.ece.uiuc.edu tim@lassi.ece.uiuc.edu
Wed, 16 Oct 1996 13:10:23 -0500


Aren't unfunc methods supposed to support keyword arguments?

a = Numeric.array(([1,2,3,4],[1,2,3,4]))
print a
print
print Numeric.product(a, 1)
print Numeric.product(a, axis=1)
================
1 2 3 4
1 2 3 4

24 24
Traceback (innermost last):
  File "<stdin>", line 19, in ?
TypeError: this function ta

-- 
	-tim

+--------------------------------------------------------------------+
| Tim Hochberg               Ultrahigh Speed Digital Electronics Lab |
| tim@lassi.ece.uiuc.edu              University of Illinois         |
| http://dogbert.ece.uiuc.edu/~tim         (217) 333-6014            |
+--------------------------------------------------------------------+

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

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