Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 14th, 2006, 03: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, 03: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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles