[sage-support] Re: regulator

2022-01-14 Thread mmasdeu
You could just do R = K.embeddings(RealField(1000))[0](K.units()[0]).log().abs(), for instance. On Sunday, December 26, 2021 at 9:21:18 PM UTC+1 Michael Beeson wrote: > I want to compute the regulator of a real quadratic field Q(sqrt d) to > high precision, > accurately enough to compute the

[sage-support] Re: regulator

2021-12-27 Thread slelievre
See also - Ask Sage question 60455: compute regulator with more precision https://ask.sagemath.org/question/60455 -- 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

[sage-support] Re: regulator

2021-12-27 Thread Nils Bruin
The "regulator" access routine should indeed at least allow to produce the regulator with the precision that pari used. If you look at the source of "regulator" you can see how to get the regulator to better precision. If K is your number field, then: K.pari_bnf().bnf_get_reg().sage() gets you