Jump to content

Talk:Formal power series: Difference between revisions

ask for mult/div info
m (signed)
(ask for mult/div info)
Line 11:
BTW, I only mentioned the rationals as a "nice to have" feature (because then you can immediately see if the coefficients for sine and cosine are correct). If you need an extra module that implements the rationals from scratch, and if you don't have arbitrary precision anyway, I personally would prefer ''double''s. The task leaves this detail unspecified on purpose. --[[User:Dirkt|Dirkt]] 05:36, 6 April 2008 (MDT)
:Yes, it is overkill to implement from scratch, it is strict forward though.-- [[User:Badmadevil|badmadevil]] 06:35, 6 April 2008 (MDT)
 
==Multiplication and division==
Could someone post examples of correct multiplication and division of power series, and perhaps even an explanation of the correct algorithm? The Haskell code is invalid, and I just wrote a translation of the D/Java code, which gives wrong results: multiplying 2 by 1 yields 3 + 3x + 3x^2 + ... --[[User:Kevin Reid|Kevin Reid]] 00:04, 17 February 2009 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.