[sage-support] Re: Using Sage from C Python API

2014-02-18 Thread Jason Grout
On 2/18/14 11:31 AM, Nicholas Roth wrote: First off, I see no reason why this shouldn't be possible, since Sage just uses python anyway. Let me tell you what I'm doing and the error that I get: I reference the same exact Python version that Sage uses from the sage/local/lib directory. I tell

[sage-support] Using Sage from C Python API

2014-02-18 Thread Nicholas Roth
First off, I see no reason why this shouldn't be possible, since Sage just uses python anyway. Let me tell you what I'm doing and the error that I get: I reference the same exact Python version that Sage uses from the sage/local/lib directory. I tell python to pretend it's argv consists of a st

Re: [sage-support] Re: groebner bases of polynomials with complex coefficients

2014-02-18 Thread sahin508
I changed the decimals into fractions and I confirm that I am now getting results. Thank you so much for your help. You saved me out of stress and depression. Best Regards, On Tuesday, February 18, 2014 11:23:37 AM UTC-5, Martin R. Albrecht wrote: > > > > On 18/02/14 14:31, sahi...@gmail.com w

Re: [sage-support] Re: groebner bases of polynomials with complex coefficients

2014-02-18 Thread Martin R. Albrecht
On 18/02/14 14:31, sahin...@gmail.com wrote: > TypeError: unsupported operand parent(s) for '*': 'Real Field with > 53 bits of precision' and 'Multivariate Polynomial Ring in x1, x2, > x3, x4, x5, x6, x7, x8 over Number Field in I with defining > polynomial x^2 + 1' This means that you are mixin

[sage-support] Re: Getting an error with .g_algebra() when trying to build a Weyl algebra

2014-02-18 Thread Douglas Weathers
Sure does. Thanks! On Monday, February 17, 2014 4:02:49 PM UTC-5, Dima Pasechnik wrote: > > On 2014-02-17, Douglas Weathers > wrote: > > The rabbit hole led me to this discussion > > > > https://groups.google.com/forum/#!topic/sage-devel/QoboPuLUmw8 > > > > from a couple of years ago, and I s

[sage-support] Re: groebner bases of polynomials with complex coefficients

2014-02-18 Thread sahin508
Thank you for the reply. I am now trying the computation with a somewhat more involved example and I am getting the error. The example I am trying to solve is below: R = QQ[sqrt(-1)] RI = R.gens()[0] S. = PolynomialRing(R,order='lex') SI = S.ideal(4*RI*x4+2*x1-2.52*x3-8*RI,3*x4+2*x1-3.5*x2-6,-4