[sage-support] Re: splitting field vs. Galois closure

2017-01-07 Thread Simon King
Hi Marc, On 2017-01-07, Marc Mezzarobba wrote: > Another trick you can use if you are creating the polynomial rings > yourself and only need to do basic arithmetic is to define them by > > PolynomialRing_field(base, var, element_class=Polynomial_generic_dense) > > instead of PolynomialRing(base,

[sage-support] Re: splitting field vs. Galois closure

2017-01-07 Thread Marc Mezzarobba
Nils Bruin wrote: > polynomial aritmetic over ZZ and QQ is so much more optimized than > over number fields, Yes, polynomial arithmetic over number fields is painfully slow. The branch trac:u/mmezzarobba/speed_up_generic_polynomials (not fully tested yet) may help a little. Another trick you ca

Re: [sage-support] embedding of number field element encapseled in symbolic ring

2017-01-07 Thread Vincent Delecroix
Le 05/01/2017 à 11:33, Daniel Krenn a écrit : On 2017-01-05 11:29, Daniel Krenn wrote: On 2017-01-05 10:55, Daniel Krenn wrote: as there is no *canonical* coercion as no embedding of the number field is specified. How can I specify this embedding such that it is used e.g. for the symbolic I?