| 
	Karim Belabas on Thu, 08 Aug 2024 13:55:30 +0200
	 | 
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
	
	| 
        Re: bnfisintnorm/bnfisnorm and availability of units
	 | 
 
- To: Max Alekseyev <maxale@gmail.com>
 
- Subject: Re: bnfisintnorm/bnfisnorm and availability of units
 
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
 
- Date: Thu, 8 Aug 2024 13:55:14 +0200
 
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
 
- Cc: Pari Users <pari-users@pari.math.u-bordeaux.fr>
 
- Delivery-date: Thu, 08 Aug 2024 13:55:30 +0200
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr;	s=2022; t=1723118115;	bh=NiYrnR2Ms+L5FF+UXF6MzR820BW+LQaOtDV12cy8Zr4=;	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;	b=LTUYZo42MvJ5u3hlZESf03FAYCd8sAms+DIZSw0XkfFCiU+uuBEu2RulDwXXBKCkN	 mEd8Q9auZaZzZcW6GbfhVnPjwyD4UchXyDXXuZD7GiWaE5kotdG8LtydET0msAiQMD	 Hs0qWptJvM/CnZz2X+jChqsXu7uaXGv67TRN3KqWUoCk8MBfpMpW1b6+QeQKgszVDj	 zN2uOk/paCLrswR40gu74TCgLjaQ8l9j8XTEcHgCIISL9Fr0ojd75hVNmuYD7Q7D4c	 l0GODnfLHz4RCa5TDYkgmGbZu+yedDUNeIWTZS/9KuOaedG95myhB8TH66CYGPDg3R	 oHyTCDtofu4Xa9yvSHvEM6Tf3rZhz1khqhOE8QrlTAIkesOG0M3MS2n2qZOm4VeAcW	 tHHHPY7ROGbAU/cDSpE7efi7A/J7MzEyT7Q2M+ZecF3lweL5UsfaKrnqPFhsDDIDQh	 nvfq3OO/rghf497LtygxyZo7lhgZEztslWmUz47f2KDwIOcmP9zjqC0kdT3Y8zwcjF	 yLcRHKtnpkcTmKCZSE/bC156eOFFfJArv5HKPYRZbZyW6GZFaeoqWCjy5iTIwKSkCx	 cdXhQn1WTcQI2UdxBufNQ5dJVoWw/Ui/5/UyJI4o1Y6oLkzDJx2hsHuyQggUHtgAhw	 diqn2lNYqhlkW9V7V4TKvKZs=
 
- In-reply-to: <CAJkPp5OfMda87zkaGiExOCBqXGu66w8HNu3W1eYNr_kPLPxTOA@mail.gmail.com>
 
- Mail-followup-to: Max Alekseyev <maxale@gmail.com>,	Pari Users <pari-users@pari.math.u-bordeaux.fr>
 
- References: <CAJkPp5Mej=KLHVgNzBObXFv+rCusEqp2tOHYPAUz6+L-Gh7aJQ@mail.gmail.com> <ZrOD1ne6I6TnpmCj@math.u-bordeaux.fr> <CAJkPp5OfMda87zkaGiExOCBqXGu66w8HNu3W1eYNr_kPLPxTOA@mail.gmail.com>
 
* Max Alekseyev [2024-08-07 23:01]:
> Hi Karim,
> 
> Thank you for the explanation. The question was really for my understanding
> of the differences between these two functions.
> Performance of bnfisintnorm() in some cases is unsatisfactory as it
> requires too much memory (I raised this issue in another topic earlier this
> year).
> Are there cases when bnfisnorm() has better chances to succeed?
These two functions do fundamentally different things:
- bnfisintnorm returns algebraic *integers* with given norm (in fact,
  all of them, modulo units of norm 1)
- bnfisnorm returns an algebraic *number* (thus allowing denominators!)
  with given norm
Generically, bnfisintnorm (applied to bnfinit(,1)) should be faster and
more robust. But it still returns a completely different output !
Cheers,
    K.B.
-- 
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/