<html><head></head><body><div class="ydpa1c5e940yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><span><span><span><div><div class="ydp227486b1yiv9284917449ydp14b4493bmsg-body ydp227486b1yiv9284917449ydp14b4493bP_wpofO ydp227486b1yiv9284917449ydp14b4493biy_A"><div class="ydp227486b1yiv9284917449ydp14b4493bjb_0 ydp227486b1yiv9284917449ydp14b4493bX_6MGW ydp227486b1yiv9284917449ydp14b4493bN_6Fd5"><div><div id="ydp227486b1yiv9284917449ydp14b4493byiv0300738416"><div><div class="ydp227486b1yiv9284917449ydp14b4493byiv0300738416ydp392e37ffyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">Hello, I install in my Ubuntu Ginac but I don't know how to compile a basic example</div><div class="ydp227486b1yiv9284917449ydp14b4493byiv0300738416ydp392e37ffyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div class="ydp227486b1yiv9284917449ydp14b4493byiv0300738416ydp392e37ffyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><pre class="ydp227486b1yiv9284917449ydp14b4493byiv0300738416ydpb1075e48example">#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;
}</pre></span><div><br></div><div>where I must put this file for ginac.h can be visible</div><div>thanks</div><div><br></div><div>PS: <span>/usr/include/ginac/ginac.h</span><br></div></div></div></div></div></div></div></div></span><span><span class="ydp227486b1yiv9284917449ydp14b4493bem_N ydp227486b1yiv9284917449ydp14b4493ben_N"></span></span><span class="ydp227486b1em_N ydp227486b1en_N"></span></span><br></span></div></body></html>