Reputation: 790
Is there any suitable Algorithm for Integration & Differentiation which I could implement by C++ or C. Just name it with reference. I would be very happy with your answer & explanation if you kind enough to provide a sample code. Thanks in advance.
Upvotes: 2
Views: 7035
Reputation: 46
You can use Calculus c++ library.
It is easy to use. You can declare variables as Variable x="x",y="y";
, and functions as Function f=sin(x)*sin(y);
.
And you can differentiate it for example with respect to x as
Function dfdx= f->get_partial_derivative(x);
Upvotes: 3