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

Home » Public Forums » archive » alternative to execute
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
alternative to execute [message #47205] Tue, 31 January 2006 10:43 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
I'm trying to think up a good way to implement a user-defined function
which would run in the IDL VM. The function might involve any of about
300 similar 2-d arrays, each of which is quite expensive to generate.
So I thought to obtain the function as a string, scan it to see which
arrays are needed, generate them, and then apply the function with
'execute'. But 'execute' is excluded from the VM.

A typical function might look like:

result = b123 / b100 - .9 * b050 / b035

Without execute, I can only think to attempt to write some kind of
arithmetic interpreter. Would anyone have a suggestion for a way to get
IDL to do this more directly?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Speeding up multiple file reading
Next Topic: Speeding up multiple file reading

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

Current Time: Sat Oct 11 18:10:26 PDT 2025

Total time taken to generate the page: 0.88299 seconds