Hello,
    i am writing a program that has as input a formula text (i.e. 
X+log(Y)*(W-Z))
 and i want to compute this formula many times for several values of X,Y,W,Z,
   how can i do it ? i need it to run quite fast around 300.000times/sec,
 i tried to write a little interpreter of the formula and i stored a sequence 
of
 functions and arguments and temporal variables used.. so that it works but i 
guess
 it should be easier,
  i have in mind other posibility that is to write the formula in a file and 
compile
 it and relink,.. but i dont know well how to do it and maybe it is even more 
copmlex
 and i have to do exactly the same but using conditions (i.e. W+Z>4.and.Z<1 
sorry, the
 users will be fortran fans)
      is there any library to do this ??
      can somebody help me or send me any sugesstion please ?

 thanks in advance, Cheers

                           Rafa

pd. also thanks to the people that send me answers about my last off-topic 
question
    about the ramdisk

Reply via email to