[sage-devel] Re: embedding sage in c or c++

2011-09-13 Thread Michael Rubinstein
Thanks! That worked for me too, though I'm not sure how you decided on the specific choices of libraries to link to. Mike On Sep 13, 6:39 pm, Willem Jan Palenstijn wrote: > On Tue, Sep 13, 2011 at 08:46:05AM -0700, Michael Rubinstein wrote: > > > I tried adding PySys_SetArgv(a

[sage-devel] Re: embedding sage in c or c++

2011-09-13 Thread Michael Rubinstein
ate (sorry). On Sep 13, 2:32 pm, Willem Jan Palenstijn wrote: > On Tue, Sep 13, 2011 at 06:10:45AM -0700, Michael Rubinstein wrote: > > Example 2 > > > > > Next thing I tried to do was to embed sage in a c program, by > > following > >h

[sage-devel] embedding sage in c or c++

2011-09-13 Thread Michael Rubinstein
I'd like to call some sage commands from within a c++ program and use the output. My plan is to call very simple 1-4 line sequences of sage commands, in order to make use of some of the number theoretic functions built into sage (for example, dealing with elliptic curves, number fields, modular for

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Michael Rubinstein
Thanks for the update. I've spent the past few weeks making major improvements to lcalc. I plan to release this updated version in a few weeks. 1) I got rid of the deprecated header files and the unused variables so it compiles much cleaner. 2) I got lcalc to compile and run with Bailey's doubl

[sage-devel] Re: Suppressing warning messages - not a good idea IMHO

2009-07-24 Thread Michael Rubinstein
I agree. I was just being lazy at some point, and left it like taht. I'll fix. Best, Mike On Thu, 23 Jul 2009, William Stein wrote: > Hi David, > > I'm cc'ing this on to Mike Rubinstein, the author of lcalc, in case he > has any comments. > > William > > On Thu, Jul 23, 2009 at 8:46 PM, Dr. Da

[sage-devel] Re: a question on L-series for dirichlet characters....

2008-10-28 Thread Michael Rubinstein
My c++ L-function package has a general L-function class and library of functions. Given basic data for the L-function (Dirichlet series coefficients and functional equation) it can compute the function. The command line interface, lcalc, has some basic built in types of L-functions (including