E.g., (1x2)*((2x1)*(2x2)) -> error (as it should be) but
((1x2)*(2x1))*(2x2) -> (2x2) So much for associativity.
But associativity assumes all products are well-defined. A*(B*C) in your example generates
an error because B*C fails.
PS
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] On
Behalf Of Alan G Isaac
Sent: Friday, December 07, 2012 12:48 PM
To: Gretl list
Subject: Re: [Gretl-users] pre-multiplication by transpose
On 12/7/2012 12:25 PM, Summers, Peter wrote:
I'd argue that a 1x1 matrix should be treated as a scalar in any
computations
So what is "right" is what is clearly wrong?
E.g., (1x2)*((2x1)*(2x2)) -> error (as it should be) but ((1x2)*(2x1))*(2x2) ->
(2x2) So much for associativity.
Alan Isaac
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users