3 ms·
Are you talking about numerical or symbolic differentiation/integration? If you are talking about the numerical type, derivation is pretty straightforward: f'(x
by S4M 14y ago
Are you talking about numerical or symbolic differentiation/integration? If you are talking about the numerical type, derivation is pretty straightforward: f'(x) = (f(x+epsilon) - f(x-epsilon))/(2*epsilon). If your function is regular enough, 2D integration can be done easily by the trapeze method. But you can check the link given by dudurocha.
Now if you are interested in the symbolic type, the differentiation is not too hard on Lisp, but integration is. But doing that in C must not be straightforward.