???
z = x#y
It works on pairs of two-dimensional (2D) arrays.
The 2D arrays can of any size as long
as the size of the rightmost dimension of x
matches the leftmost dimension of y
ncl 0> x = random_uniform (1,10, (/8,3/))
ncl 1> y = random_uniform (-20,10, (/3,4/))
ncl 2> z = x#y
ncl 3> printVarSummary(z)
Variable: z
Type: float
Total Size: 128 bytes
32 values
Number of Dimensions: 2
Dimensions and sizes: [8] x [4]
^^^^^^^^^^
===============================================
good luck
On Fri, 10 Feb 2006, sahana_paul wrote:
> Hi,
> I find the matrix multiplication in NCL can be done for
only 2x2 array, but for my case I ha
ve much more higher order matix. Please suggest me the right way for matrix
multiplication.
>
> regards
>
> Sahana
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Feb 10 2006 - 08:55:31 MST
This archive was generated by hypermail 2.2.0 : Fri Feb 10 2006 - 09:28:16 MST