help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: senseless warning in octave-3.6.2


From: Jordi Gutiérrez Hermoso
Subject: Re: senseless warning in octave-3.6.2
Date: Tue, 3 Jul 2012 12:07:01 -0400

On 3 July 2012 11:48, Nicholas Jankowski <address@hidden> wrote:
> jumping into the deep  without a real appreciation for 'broadcasting',
> but it seems that basic matrix math cares whether something is a row
> or column matrix
>
> octave:1> a = 1:4
> a =
>
>    1   2   3   4
>
> octave:2> b = a
> b =
>
>    1   2   3   4
>
> octave:3> a*b

Broadcasting only applies to elementwise operations. Matrix
multiplication is not elementwise.

HTH,
- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]