[Top][All Lists]

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

Re: adding vectors and matrices

From: Andreas Heitmann
Subject: Re: adding vectors and matrices
Date: Fri, 22 Aug 1997 11:32:22 +0200


>>>>> "Ted" == Ted Harding <address@hidden> writes:

    Ted>       y = x + v*ones(1,columns(x));

Yes, it works. Many thanks.

    Ted> will do it. I understand John Eaton plans to incorporate a
    Ted> syntax like

    Ted>       y = x .+ v

    Ted> for a future release which will do the same thing (and the
    Ted> corresponding thing if v is a row vector with as many
    Ted> elements as x has columns, i.e.  add v to each row of x).

That would be a great thing. This sort of translations occurs quite

Best Regards,

reply via email to

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