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

Home » Public Forums » archive » Creating an IDL array within C?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Creating an IDL array within C? [message #62172] Fri, 29 August 2008 06:40 Go to previous message
hotplainrice@gmail.co is currently offline  hotplainrice@gmail.co
Messages: 15
Registered: July 2008
Junior Member
Hi guys,

Another problem for everyone. Yay!

Firstly, I'm working on translating code from IDL to C for CUDA
purposes by re-writing it as a system routine.

so the issue:

Within IDL, the user can do this

IDL> help, data6
DATA6 UNDEFINED = <Undefined>

and call an arbitrary function that will have it created.

thisfunc, data6, wv

Within thisfunc.pro
pro thisfunc, data6, wv
data6 = fltarr(5,6)

How do I do this in C?
Is it even possible or do I have to ensure that data6 exists before I
call my system routine?

Regards
Zaki
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: 3D phase diagram drawing
Next Topic: Re: 3D phase diagram drawing

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

Current Time: Thu Oct 09 07:54:44 PDT 2025

Total time taken to generate the page: 0.48224 seconds