Bill Allombert on Tue, 05 Dec 2023 14:35:04 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Normalization of rational functions
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: Normalization of rational functions
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Tue, 5 Dec 2023 14:34:53 +0100
- Delivery-date: Tue, 05 Dec 2023 14:35:04 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1701783297; bh=QwjcGdBTfmlA2V9K7aNNILM1J/nBkn461O1HnBOYGDc=; h=Date:From:To:Subject:References:In-Reply-To:From; b=EY0/ithkvZHMjhPnPtGUjP3ZkELW50hiv/XgGYGP+ppAPJ4QKT3fvARIVSuNAsphm WUenkKOAAFM44kIXZ1wSoI1JvIXk5wO+n3ErSnjcELSeXc0HXxSAtVyb3b0HfW1pck 74Y2ISVDy1LYaO3uMOWhuCPp6l8V1cafeNxVd2mxFxT8xElflZSFghBfwSU7yuxP5O dfZqJN5gF/JSsceOZK6wcDKb/GSNywR4hn37BSdC5vzTKb6sLco2YirKt4x300Yh9t Iu5afijhEV+O7GwOsiq6Q2yqrw4JKCqGTadnOsVc7+Tano8/E8s0fUa2yRG5XxKKuk 4vblcpT0+wYAUx/8wsrFLs0QnVrLjU5Gcz3DaBeQgo8VfOcDjc02Ixv/2UTUJGZruF wRK2bziD2wBUkXcsjMadsHC1PnYHgDqpCPM6pITrZHXX3X2KZGGSMEsRUuCn1hoE+q 15l7vFVunzRvRMgsqtJLA0zu+X1hEnIryDZb8OAdG4iJbUJ7ikiecPjdWUGG2uJ0fq Fnv81B/30oPXFpwJHsPL3vuZdq/ld428RlPI0mGpvtN2Df6e98evHM7uhjoqikuWkz 2M03oKUJG9dBhy40PASlFYNLfVZFTn56c4Gl5mA+ru7hXd8r1KroSeOriYq/SEUDrQ UhZGSv9O8sid8iikIv/m5QYs=
- In-reply-to: <ZW1J5P1xoZbnr8/S@login.math.berkeley.edu>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <ZW1J5P1xoZbnr8/S@login.math.berkeley.edu>
On Sun, Dec 03, 2023 at 07:39:16PM -0800, Ilya Zakharevich wrote:
> I thought this has been fixed some time ago:
>
> (19:36) gp > t; (-t0*t^2 + 2*t - t0)/(-t^2 - 1)
> %1 = (-t0*t^2 + 2*t - t0)/(-t^2 - 1)
>
> Should not the normalization choose the positive sign for the
> leading(?) coefficient of the denominator? (Or at least the
> numerator?)
This was fixed by Karim some time ago in this commit:
commit 6afc9e9a0492fed89c280388613c247cb501e22b
Author: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
Date: Sun Oct 23 16:30:41 2022 +0200
2- normalize t_RFRAC so that leading coeff of denoimator is "positive";
E.g., [1/(1-x),1/(x-1)].
Before: %1 = [1/(-x + 1), 1/(x - 1)]
After: %1 = [-1/(x - 1), 1/(x - 1)]
Cheers,
Bill.