On Thu, 1 Feb 2007, Sven Schreiber wrote:
One question that comes to my mind when the datatypes matter
like in this case: Do things like inner vector products actually
return scalars or 1x1-matrices?
The experimental method (!)
nulldata 2
matrix u = {1,2,3}
matrix v = {1,2,2}
matrix x = u*v'
scalar y = u*v'
z = u*v'
If you run this you'll see that while both "matrix x = u*v'" and
"scalar y = u*v'" are OK, when you don't specify a type the
result appears as a scalar.
Allin.