apostrophe after linspace code
Dmitri A. Sergatskov
dasergatskov at gmail.com
Fri Jun 13 12:52:27 CDT 2008
On Fri, Jun 13, 2008 at 12:15 PM, Jaroslav Hajek <highegg at gmail.com> wrote:
> I can't fully agree. It depends on why you're transposing - whether it
> is a part of matrix formula, or you just need the opposite layout for
> some function. In the first case, it is often more natural to use ',
> because then the same formula works for complex matrices as well. In
> the latter case, I would agree with your recommendation.
>
I guess I was not clear enough. If the math asks for conj. transpose
then you would use ('). If the math asks for transpose you should
use (.') even though you may _think_ that in your case the matrix
is real and (.') is equivalent to (').
Especially in the code consigned to posterity. :)
Dmitri.
--
More information about the Help-octave
mailing list