Discussion: Introducing new operators for matrix computation
Matt Feinstein
mfein at aplcomm.jhuapl.edu
Fri Jul 14 08:52:39 EDT 2000
On Fri, 14 Jul 2000 14:51:05 +0200, Gregory Lielens
<gregory.lielens at fft.be> wrote:
>
>> >>The main thing I'd think about in addition to standard MATLAB syntax
>> >>is a natural 'prolongation' syntax.
>> 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]
>>
>which is a classical matrix product d'*c, I think,at least if you
>distinguish between line and column vectors...
>
AUUGH. That's what happens when you post too early in the morning.
--
Matt Feinstein
mfein at aplcomm.jhuapl.edu
Organizational Department of Repeated
and Unnecessary Redundancy
More information about the Python-list
mailing list