Sharedsupport / 2015-10-10-113448-Nemo.ipynbOpen in CoCalc
Examples for support purposes...

Nemo website: http://nemocas.org

Nemo documentation: http://nemocas.org/nemo-0.3.pdf

ENV["LD_LIBRARY_PATH"] = "/usr/local/share/julia/site/v0.4/Nemo/local/lib"
using Nemo
Welcome to Nemo version 0.3.1 Nemo comes with absolutely no warranty whatsoever
R, alpha = FiniteField(fmpz(7), 5, "alpha") 
(Finite field of degree 5 over F_7,alpha)
(1 + alpha)^7
6*alpha^3+3*alpha^2+1
f = 1 + x + y + z + t
p = f^30
time q = p*(p + 1)
LoadError: Incompatible polynomial rings in polynomial operation while loading In[11], in expression starting on line 1 in + at /usr/local/share/julia/site/v0.4/Nemo/src/flint/fmpq_poly.jl:119 in + at operators.jl:103
QQ[x,y,z,t]
f = 1 + x + y + z + t
p = f^30
time q = p*(p + 1)
LoadError: MethodError: `getindex` has no method matching getindex(::Nemo.FlintRationalField, ::Nemo.fmpq_poly, ::Nemo.fmpq_poly, ::Nemo.fmpq_poly, ::Nemo.fmpq_poly) while loading In[12], in expression starting on line 1
R, x = CyclotomicField(20)
S = R[y]
f = (3x^7 + x^4 - 3x + 1)*y^3 + (2x^6-x^5+4x^4-x^3+x^2-1)*y +(-3x^7+2x^6-x^5+3x^3-2x^2+x)
time r = f^300
LoadError: MethodError: `AnticCyclotomicField` has no method matching AnticCyclotomicField(::Int64) Closest candidates are: AnticCyclotomicField(::Int64, !Matched::AbstractString) AnticCyclotomicField(::Int64, !Matched::AbstractString, !Matched::Any) while loading In[10], in expression starting on line 1