From: "Javier Arantegui Jimenez" <address@hidden>
To: "Mike Miller" <address@hidden>
CC: "Help-Octave List" <address@hidden>
Subject: Re: Why is different ^ and .^?
Date: Tue, 24 May 2005 00:17:33 +0200 (CEST)
Mike Miller said:
> a^2 means a*a
> a.^2 means "square every element of a"
>
> a^2 therefore requires that 'a' be a square matrix or scalar.
> a.^2 does not require that 'a' have any particular dimensions
OK. I understand it. But, could Octave be smart enough to distinguish
between those cases? I think that other programs, like Euler, don't need
to do this distinction.
Javier
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------