I'm looking for a way to create a "variable-function" in C language. In MATLAB i'm able to create something like:
my_function = (@x) sin(x) + x^2 + x;
so that i'm able to evaluate it for any value of 'x' i like:
my_point = 3.09;
my_function(my_point);
is there anything like that for C language?