Connecting Tech Pros Worldwide Help | Site Map

how to evaluate user defined functions?

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 14th, 2006, 02:25 PM
Viktor Winschel
Guest
 
Posts: n/a
Default how to evaluate user defined functions?

Hi,

I need to input user defined functions,
lets say f(x,y)=log(x)+exp(y)
from a file at runtime and then evaluate them many times.

Since most of the runtime is spend on evaluating
the function I need a fast way to do it.

thanks

Viktor Winschel

  #2  
Old March 14th, 2006, 02:45 PM
Victor Bazarov
Guest
 
Posts: n/a
Default Re: how to evaluate user defined functions?

Viktor Winschel wrote:[color=blue]
> I need to input user defined functions,
> lets say f(x,y)=log(x)+exp(y)
> from a file at runtime and then evaluate them many times.[/color]

Google for "C++ interpreter". And look in the news archives as well.
[color=blue]
> Since most of the runtime is spend on evaluating
> the function I need a fast way to do it.[/color]

Don't we all?...

V
--
Please remove capital As from my address when replying by mail
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.