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

Home » Public Forums » archive » REFORM: new subscripts must not change the number elements in 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
Re: REFORM: new subscripts must not change the number elements in array [message #90427 is a reply to message #90413] Mon, 02 March 2015 09:12 Go to previous messageGo to previous message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
Yes, I saw your last message but I am interested to understand how you end up before with the a = reform(a, 100l, 200l*2l, /overwrite). I followed your steps but I changed the dimensions to see if I understand well.

A=randomu(s,216,216)
IDL> print, product(size(a, /dimensions), /preserve_type)
46656
IDL> print, product([120L, 216L*216L], /preserve_type)
5598720

Then I tried to write it like this: a = reform(a, 120l, 216l*2l, /overwrite) but I got the error that I mentioned before.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: function graphics event handling
Next Topic: Image in color scale and gray level scale.

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

Current Time: Wed Oct 08 11:43:07 PDT 2025

Total time taken to generate the page: 0.00478 seconds