On Wed, Jan 15, 2014 at 3:23 PM, Simon King wrote:
> Hi John,
>
> On 2014-01-15, John Cremona wrote:
>> and now you can do
>>
>> sage: mpoly.change_ring(GF(7)).factor()
>> (x + 1) * (x + 6) * (x^15 + x^14 + 3*x^13 + 2*x^12 + 6*x^11 + 5*x^10 +
>> 2*x^9 + 6*x^7 + 6*x^6 + 5*x^5 + 5*x^4 + x^2 + 2*x +
Hi John,
On 2014-01-15, John Cremona wrote:
> and now you can do
>
> sage: mpoly.change_ring(GF(7)).factor()
> (x + 1) * (x + 6) * (x^15 + x^14 + 3*x^13 + 2*x^12 + 6*x^11 + 5*x^10 +
> 2*x^9 + 6*x^7 + 6*x^6 + 5*x^5 + 5*x^4 + x^2 + 2*x + 6)
And what would one do if one is really interested to fact
If you type
x = polygen(GF(7))
before defining mpoly, then mpoly.factor() will factor it mod 7.
Probably better though is to type
x = polygen(ZZ)
before defining mpoly, so that mpoly knows that it is an integer polynomial:
sage: mpoly.parent()
Univariate Polynomial Ring in x over Integer Ring
-- Forwarded message --
From: "Stavros Garoufalidis"
Date: Jan 15, 2014 12:36 PM
Subject: factoring polynomials modulo primes in Mathematica/Sage?
To:
Cc: "stavros"
Dear William,
I would like to ask you a Sage question: suppose we have a Mathematica
object in sage:
sage: mpoly
Was there there something from the original Sage install (compiled from
source) that produced the different CXXFLAGS?
Strange that only the Sage config.log had "#define
_4ti2_HAVE_MPZ_INT64_CONVERSION 1".
On Sunday, January 12, 2014 5:15:34 PM UTC-5, rickhg12hs wrote:
>
> FYI, building 4ti2 ind
Hi Marc.
I follow your instruction from
http://ufrmeca.univ-lyon1.fr/~buffat/sagecell.html and I can install
everything without error. but in sage cell when I type 1+1 and click
evaluate there is no result showing. Another problem is the sage notebook.
I am able to get result for 1+1 but not c
On 1/14/14, 4:06 PM, kcrisman wrote:
Yes, they appear to be. There was another thread about this
at http://ask.sagemath.org/question/3406/share-not-working-in-sage-cell
I hope this is fixed by the Joint Meetings!
It's fixed now. It was a weird problem, so I solved it by restarting
some thi