Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AttributeError: 'NumberFieldFractionalIdeal' object has no attribute 'ray_class_number'

ray_class_number canot run.....

I try a example from doc/reference: http://www.sagemath.org/doc/reference/number_fields/sage/rings/number_field/number_field_ideal.html

K.<z> = QuadraticField(-23); p = K.primes_above(3)[0]; p.ray_class_number()

x = polygen(K) L.<w> = K.extension(x^3 - z) I = L.ideal(5) I.ray_class_number()enter code here

AttributeError: 'NumberFieldFractionalIdeal' object has no attribute 'ray_class_number'

ray_class_number ray_class_number canot run.....

I try a tried an example from doc/reference: http://www.sagemath.org/doc/reference/number_fields/sage/rings/number_field/number_field_ideal.htmldoc/reference:

K.<z> = QuadraticField(-23);
p = K.primes_above(3)[0];
p.ray_class_number()

p.ray_class_number()

x = polygen(K) L.<w> = K.extension(x^3 - z) I = L.ideal(5) I.ray_class_number()enter code here

I.ray_class_number()