![]() |
Blitz Support : |
From: MarC (marc_contrib_at_[hidden])
Date: 2005-05-03 16:52:15
Hello,
In the guide I found that it was possible to construct a matrix like this:
Array<float,2> C(A*2.0+B);
However when I code in my program:
D(mostres.columns())
D(mostres.rows())
D(opt.columns())
D(opt.rows())
Array<tipus,2> A(mostres*opt);
D(A)
("D" and "tipus" are two defines for "cerr << #x" and for "float")
I get:
mostres.columns()=4410
mostres.rows()=5947
opt.columns()=1
opt.rows()=4410
A=1 x 1
[ 1.70534e-05 ]
But why 1x1???
I can't understand it... Why the destination matrix doesn't resize
automatically to the product?
Any help is appreciated...
MarC
(running in debian testing linux)