Kevin Ryde on Thu, 11 Dec 2014 09:38:05 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
polynomial partial fractions
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: polynomial partial fractions
- From: Kevin Ryde <user42_kevin@yahoo.com.au>
- Date: Thu, 11 Dec 2014 19:32:41 +1100
- Delivery-date: Thu, 11 Dec 2014 09:38:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1418287073; bh=cNzISrN97XmapGKXbhAzrzMEr5gd+yxKXbhPpqVo1Z0=; h=From:To:Subject:Date:From:Subject; b=bNUjVLsTmhoN5BEV4oD1FhE0R5X8VGr730eHVhnZ4DfA3ZyVX+8QGOUkE95m1/8j2McZqWg+iomboC7YuFPWrLwnn6qbEcCyi9S8D80Q6UAh2WJ05Q7Yp6ZiKY4VNiDKA6MzeszMYH8XyjCCeAEGdhsylo8E3sDvn8cEta6Vl05+w9taf2ELlbzHNby1w8iMg8+tU4+GEFiIy4dsEFv7yfuTR9BITRB7bYhad5dw4oG95klCV2czZQ70ZSrRpSJJuyNyzwzem7IE3eMhosAybEcROP7ngeUHyuniCXFBkLPhfQp9S3wgGe7O/AQprBSJXScNOagI+R7PAKRpr4TndQ==
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com.au; b=lkt0PjBrxJOxzLigYlW3+o724idGDeT5K82BUsOMJlrfK6XWnTmhQXPw0Mx4PAMthoXTOztqnVN902h/65vt+cvynQbCv7rdBDyWbS0FLfXwD4sPBzHqdpxVpcDJRzwVuqv0X4BFZqWCsJuyZ0TRk/n1UgVug58a/Vt+LkHMM7aGFHotkXVXcsyUQsCjYNrjylgulK4+zVsoALfty4cxtnb4hIGAfSAMESfB8ZZeVR45mcK6+xZw68e0oULXk3hAFTl4omt6G4f0/n0W+OwlOYCdVMETC01f09/NbgP3vxOehU+EI5uvdygYCkejKupEdr9AJH7xUW6/JIHoaVNv4w==;
- Organization: Bah Humbug
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
I had the urge to break some polynomial ratios into partial fractions.
I thought maybe a vector result of terms which sum to the original.
p = x^4 / ((1-x)*(1-2*x)*(1 - x - 2*x^3))
v = polynomial_crack_into_partial_fractions(p)
v == [ (1/2) / (1-x),
(1/2) / (1-2*x),
- (1 + (1/2)*x + x^2) / (1-x-2*x^3) ]
vecsum(v) == p
What would I look at for such a thing? I know how to build a matrix for
matsolve() to give the numerators, but perhaps this exists already.
I saw Henri Cohen's cohen.gp ratdec() but it seems to go polroots()
where I had in mind only going as far as can be factorized exactly over
complex or quadratics (so leave the cubic above unchanged). Could
supply the desired denominators if necessary.
--
No, eees hamster.