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

Home » Public Forums » archive » How do I return a 2d array in a system routine?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How do I return a 2d array in a system routine? [message #62561] Mon, 15 September 2008 03:25
hotplainrice@gmail.co is currently offline  hotplainrice@gmail.co
Messages: 15
Registered: July 2008
Junior Member
I have been using cublas_sgemm.pro to call a C function
IDL_CUBLAS_SGEMM() which is LINKIMAGE'd into IDL.

Now, I'd like to reduce it to IDL_CUBLAS_SGEMM only. How do I create
an IDL_VPTR and IDL_VARIABLE to return the result which is a 2D array.

I find it hard to understand IDL's documentation in returning
variables e.g. usage of IDL_MakeTempArray() in the Example: A Complete
Numerical Routine Example (FZ_ROOTS2)

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

How do I create IDL_MEMINT?

Excuse my Bush-like IQ

Zaki
[Message index]
 
Read Message
Previous Topic: Changing values of one image from ENVI
Next Topic: Re: Maximum index for arrays?

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

Current Time: Fri Oct 10 15:46:09 PDT 2025

Total time taken to generate the page: 2.15716 seconds