[Thread Prev][Thread Next][Index]

Re: [ferret_users] how to calculate dot product in ferret



Dear Golla,

On Fri, 17 May 2013 11:55:47 +0530 golla nageswararao wrote:
> Hi all,
>  Does any body knows how to calculate dot product between two vectors in
> ferret?

You can do this for two vectors V1 and V2:

? let A = V1*V2
? list A[i=@sum]

since the vector product is the summed elements of the direct product.

Cheers,

Marco

-- 
Koninklijk Nederlands Meteorologisch Instituut
Tel: +31 30 2206 707
Jab: hulten@xxxxxxxxxxxxxxx
Www: http://www.knmi.nl/~hulten/

Please, do not top-post, quote what is useful and use free file formats.


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement