13 Mar
2019
13 Mar
'19
4:30 p.m.
Hello, I install in my Ubuntu Ginac but I don't know how to compile a basic example #include <iostream> #include <ginac/ginac.h> using namespace std; using namespace GiNaC; int main() { symbol x("x"), y("y"); for (int i=0; i<3; ++i) poly += factorial(i+16)*pow(x,i)*pow(y,2-i); cout << poly << endl; return 0; } where I must put this file for ginac.h can be visiblethanks PS: /usr/include/ginac/ginac.h