Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <ginac/ginac.h>
- using namespace std;
- using namespace GiNaC;
- int main()
- {
- symbol x("x"), y("y");
- ex poly;
- for (int i=0; i<3; ++i)
- poly += factorial(i+16)*pow(x,i)*pow(y,2-i);
- cout << poly << endl;
- return 0;
- }
- /tmp/ccniH1BR.o: In function main':<br/>/home/greenbur/Delete_Me.cpp:8: undefined reference toGiNaC::symbol::symbol(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
- /home/greenbur/Delete_Me.cpp:8: undefined reference to `GiNaC::symbol:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement