0

How can I write code that uses calculus in c++

There are some higher level ai concepts i've been watching on MIT's youtube channel, which uses integral calculus to solve for decisions made by an ai. before I learn it in python, I was hoping to figure out how to represent calculus in c++. or is that sort of thing reserved for python which makes use of a longer int value to be able to use very small or very large numbers interchangeably?

25th Nov 2017, 7:28 AM
Atom Dellow
Atom Dellow - avatar
1 Antwort
+ 2
So you wish to have a type that can hold large and small numbers simultaneously? Didn't long double help achieve that? It seems I am unable to get you, but If calculus is what you need to do, there is a library symbolicc++ which you may check out. It helps perform symbolic & numerical differenciation and integration in C++, along with a lot of other uses. issc.uj.ac.za/symbolic/symbolic.html
25th Nov 2017, 9:17 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar