Re: Help on array multiplication
- From: Ron Shepard <ron-shepard@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Feb 2006 00:48:50 -0600
In article <1139898947.641636.5270@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"shuisheng" <shuisheng75@xxxxxxxxx> wrote:
Thank you for your reply. Would you explain a little more about your
nmat seems to be the number of dimensions.
Yes, my code was for an arbitrary number of dimensions. Your case
is like nmat=3.
a evec seems to be a matrix (2-D)
Yes, I did not include the declarations. My A(:,:) is like your
B(:,:), it transforms each dimension from one coordinate system to
v and r seem to be vectors
Yes, they are stored as vectors, but but they are like your
A(:,:,:). I used the RESHAPE() intrinsic to convert them into 2D
arrays of the appropriate shape.
$.02 -Ron Shepard