# [Matrix-SIG] Outer is a method of ufuncs

**Travis E. Oliphant
**
Oliphant.Travis@mayo.edu

*Wed, 23 Dec 1998 00:51:54 -0600*

The confusion you are experiencing with outer is because
MLab.py is very old and many of the functions are outdated
and based on old interfaces.
outer is a now method of any ufuncobject (such as mutliply,
divide, add, or any of the binary functions in the cephes
module). Thus, in Mlab.py all references to outer should
be modified.
so sum_cov = sum_cov+outer(multiply,v,v)
should be
sum_cov = sum_cov + multiply.outer(v,v)
I've found other functions in MLab.py that don't work
properly also (diag for example).
Regards,
----------------------------------------------------
Travis Oliphant 200 First St SW
Rochester MN 55905
Ultrasound Research Lab (507) 286-5923
Mayo Graduate School Oliphant.Travis@mayo.edu