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

**Paul F. Dubois
**
dubois1@llnl.gov

*Thu, 24 Dec 1998 07:51:04 -0800*

If someone would mail me a fixed version of Mlab.py I'll put it in the
archive.
This is an example of my previous concern about "higher-level" stuff being
mixed in with NumPy. We have a maintenance problem and the more non-core
stuff we put in the worse it gets. On the other hand, everyone wants a
complete, Matlab/IDL/Basis/Yorick-like collection.
-----Original Message-----
From: Travis E. Oliphant <Oliphant.Travis@mayo.edu>
To: Takahiro.Oishi@db.com <Takahiro.Oishi@db.com>; matrix-sig@python.org
<matrix-sig@python.org>
Date: Wednesday, December 23, 1998 9:27 PM
Subject: [Matrix-SIG] Outer is a method of ufuncs
>*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
*>*
*>*_______________________________________________
*>*Matrix-SIG maillist - Matrix-SIG@python.org
*>*http://www.python.org/mailman/listinfo/matrix-sig
*>*
*>*
*