Re: how to use make array with different values [message #84188] |
Tue, 30 April 2013 23:37 |
gunvicsin11
Messages: 93 Registered: November 2012
|
Member |
|
|
On Wednesday, May 1, 2013 11:54:53 AM UTC+5:30, Mats Löfdahl wrote:
> Den onsdagen den 1:e maj 2013 kl. 07:40:34 UTC+2 skrev sid:
>
>> Hello everyone,
>
>>
>
>> I need to know how to make an array with different values.
>
>>
>
>> I have 64 values in d that is d= dblarr(64) now i have to make a matrix of 8x8 array and put all these values there.
>
>
>
> The command
>
>
>
> IDL> d2 = reform(d,8,8)
>
>
>
> will do that for you.
Thank you sir it works
|
|
|
Re: how to use make array with different values [message #84190 is a reply to message #84188] |
Tue, 30 April 2013 23:24  |
Mats Löfdahl
Messages: 263 Registered: January 2012
|
Senior Member |
|
|
Den onsdagen den 1:e maj 2013 kl. 07:40:34 UTC+2 skrev sid:
> Hello everyone,
>
> I need to know how to make an array with different values.
>
> I have 64 values in d that is d= dblarr(64) now i have to make a matrix of 8x8 array and put all these values there.
The command
IDL> d2 = reform(d,8,8)
will do that for you.
|
|
|