Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - calling singular from c/c++
Author Message
  Post subject:  Re: Singular as a C/C++ library  Reply with quote
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
Post Posted: Thu May 21, 2009 2:10 pm
  Post subject:   Reply with quote
Now, after 3 years, have something changed?
Post Posted: Fri May 01, 2009 11:40 am
  Post subject:   Reply with quote
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.
Post Posted: Tue Jun 27, 2006 6:46 pm
  Post subject:  calling singular from c/c++  Reply with quote
Is it possible to call Singular from C/C++?
Post Posted: Mon Jun 12, 2006 2:57 pm


It is currently Fri May 13, 2022 11:03 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group