Need some help with macro / metaprogramming: I have a couple of base functions, such as:
r -> 110.3/(4.213e-7*r^1.526 + 1.0) - 110.3 r -> 510.3 - 510.3*(1.0 - 3.84e-6*r)^(1/2) r -> 0.0009465*r that I want to use to create say 10 new functions that all have different added "errors" (like, -1,2,445,5,2,-2,-223,2,6,7). So the third function would become the following new function: r -> 0.0009465*r + 7 I want these new functions to have new names (say f1, f2, f3, ... , f10), and I imagined it would be easy to use the @eval macro somehow. I've tried all sorts of combinations, but I can't get the function's name right.. Help (thanks!)?
