The following code does not run in a Jupyter notebook inside cocalc 

R.<x> = PolynomialRing(QQ) 
f = x^3+6*x^2+12*x+8;
g = x^2+x-2;
I = R.ideal([f]);
J = R.ideal([g]);
I.intersection(J)

This produces an error that ends with the line:

AttributeError: 'Ideal_1poly_field' object has no attribute 'intersection'

Similarly,  we get an error in the following line

I.quotient(J)

AttributeError: 'Ideal_1poly_field' object has no attribute 'quotient'

However, if we use the ring on 2 variables

R.<x,y> = PolynomialRing(QQ) 

all computations execute.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/2508e1af-7c36-493e-9eea-104a5737ff5en%40googlegroups.com.

Reply via email to