Discussion: Introducing new operators for matrix computation
Doug Schwarz
douglas.schwarz at kodak.com
Fri Jul 14 09:01:22 EDT 2000
In article <396f0031.3421579 at aplnews>, mfein at aplcomm.jhuapl.edu (Matt
Feinstein) wrote:
>What I mean is, given vectors, e.g.,
>
>d = [d1 d2]
>c = [ c1 c2 c3]
>
>an apparently incorrect element-wise multiplication like
>
>d'.*c
>
>would be interpreted as
>
>[d1 d1 d1; d2 d2 d2].*[c1 c2 c3;c1 c2 c3]
Please forgive this slightly off-topic response.
Matt,
Are you aware of the Generalized Arithmetic Operators (genops) functions
I developed for MATLAB? They implement as MEX functions exactly this
behavior. For more info please see
<http://www.servtech.com/~schwarz/genops.html>
We now return you to your regularly scheduled Python discussion.
--
Doug Schwarz
Eastman Kodak Company
douglas.schwarz at kodak.com
More information about the Python-list
mailing list