| Ikaros (14) | |||
|
What is a fast way to evaluate function. Now, I am evaluating a function using for-loop and vectors. For example,
where I am evaluating function f(x) = 2*x; But, I am a quite new with C++ so I don't know is this method slow or fast. Length of the vector x is something between 3 and 15, but I need to evaluate this many times. | |||
|
|
|||