comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » reform a transposed array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
reform a transposed array [message #94084] Mon, 16 January 2017 14:13 Go to previous message
smnadoum is currently offline  smnadoum
Messages: 24
Registered: June 2016
Junior Member
I am having difficulties reforming a transposed array:
e is int =array[3,1,2]
I transposed e to : int = array[2,1,3]

but now I want to reform e to [4,2]:
e = reform(e,4,2,/overwrite)

I know that this function won't work for reforming the array to [4,2] due to the difference in the number of elements.

Is there a way to reform the array e to [4,2]?

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: MPMINSTEP in mpfit?
Next Topic: Amoeba and Tied Parameters

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:37:32 PDT 2025

Total time taken to generate the page: 0.00434 seconds