Re: Transpose and matrix multiplication

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 15 Oct 2008 09:26:03 -0600

Hello

The next release will support this.

http://www.ncl.ucar.edu/Document/Functions/Contributed/transpose.shtml

===
I will send you the new version in a separate email.

D

Jan Ploski wrote:
> Hi,
>
> How do I transpose a one-dimensional vector?
>
> In particular, I'd like to be able to calculate transpose(x) # x and get a
> matrix with dimsizes(x) rows and columns as the result.
>
> The following example taken from
> http://www.ncl.ucar.edu/Document/Functions/Contributed/transpose.shtml
> produces errors:
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>
> e = (/1,2,3,4/) ; SPECIAL CASE: one dimensional array
> N = dimsizes(e)
> e!0 = "data"
> eT = transpose( e )
> printVarSummary( eT)
>
> Any suggestions?
>
> Regards,
> Jan Ploski
>
> --
> Dipl.-Inform. (FH) Jan Ploski
> OFFIS
> FuE Bereich Energie | R&D Division Energy
> Escherweg 2 - 26121 Oldenburg - Germany
> Phone/Fax: +49 441 9722 - 184 / 202
> E-Mail: Jan.Ploski_at_offis.de
> URL: http://www.offis.de
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 15 2008 - 09:26:03 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 17 2008 - 10:06:33 MDT