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

Home » Public Forums » archive » IDL_MEMINT, IDL_MakeTempArray - can someone explain?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL_MEMINT, IDL_MakeTempArray - can someone explain? [message #37432] Thu, 18 December 2003 01:12
Brian is currently offline  Brian
Messages: 27
Registered: March 2001
Junior Member
I am a little confused about something. In an IDL_ARRAY structure, there is

IDL_ARRAY_DIM dim;

I am writing a DLM and need to use the IDL function below:

char *IDL_MakeTempArray(int type, int n_dim, IDL_MEMINT dim[], int init,
IDL_VPTR *var)

In the DLM, I get the array passed to it by

IDL_VPTR in=argv[0];

So when I use the function, can I just do

IDL_MakeTempArray(IDL_TYP_DCOMPLEX, in->value.arr->n_dim, (IDL_MEMINT)
in->value.arr->dim, IDL_ARR_INI_ZERO, &tmp)

where tmp was declared as

IDL_VPTR tmp;

confused,

brian
[Message index]
 
Read Message
Previous Topic: IDL and supercomputers?
Next Topic: Thanks Henry Chapman! (for the FFTW3 DLM)

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

Current Time: Sun Oct 12 14:42:58 PDT 2025

Total time taken to generate the page: 1.35694 seconds