Singular https://www.singular.uni-kl.de/forum/ |
|
calling singular from c/c++ https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1499 |
Page 1 of 1 |
Author: | khan [ Mon Jun 12, 2006 2:57 pm ] |
Post subject: | calling singular from c/c++ |
Is it possible to call Singular from C/C++? |
Author: | hannes [ Tue Jun 27, 2006 6:46 pm ] |
Post subject: | |
As Singular is a C++ program, it is possible. On the other side, Singular was not designed as library - it requires its own memory manager (which may interfere with others), it requires that its initialization is run (which is in main() and not in seperate routines). To sum it up: yes, it is possible, but requires quite a lot of work. |
Author: | amberovsky [ Fri May 01, 2009 11:40 am ] |
Post subject: | |
Now, after 3 years, have something changed? |
Author: | hannes [ Thu May 21, 2009 2:10 pm ] |
Post subject: | Re: Singular as a C/C++ library |
It is not Singulars main goal to create a C++ library, but, yes, it is possible, and some programs use Singular as a C++ library. Once you have build a stand alone Singular, the Makefile in ./Singular provides the targets libsingular.a and libsingular.so which contain all Singular functions. (The problems with coexisting memory managers have been solved). Rudimentary documentation of the internals can be found at http://www.mathematik.uni-kl.de/ftp/pub ... natomy.tgz |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |