#1956: implement multivariate truncated power series arithmetic
-------------------------------------------+--------------------------------
   Reporter:  was                          |          Owner:  pernici           
       
       Type:  enhancement                  |         Status:  needs_review      
       
   Priority:  major                        |      Milestone:  sage-4.7          
       
  Component:  commutative algebra          |       Keywords:  multivariate 
power series
Work_issues:                               |       Upstream:  N/A               
       
   Reviewer:  Martin Albrecht, Simon King  |         Author:  Niles Johnson     
       
     Merged:                               |   Dependencies:                    
       
-------------------------------------------+--------------------------------
Changes (by niles):

  * status:  needs_work => needs_review


Old description:

> Multivariate truncated power series arithmetic has been requested a
> *lot*.
>
> == Apply: ==
>
>  1. [attachment:trac_1956_combined_2.patch]
>
> This is a single patch combining all of the partial patches now attached
> to this ticket.

New description:

 Multivariate truncated power series arithmetic has been requested a *lot*.

 == Apply: ==

  1. [attachment:trac_1956_combined_3.patch]

 This is a single patch combining all of the partial patches now attached
 to this ticket.

--

Comment:

 Now I've added `combined_3.patch`:  It changes `TypeError` to `ValueError`
 as suggested above, and also in one other place (where again input of
 wrong length raises the error).  The error types in the rest of the code
 seem good to me.

 I've also changed the name of the indeterminate in the background power
 series ring from `'T'` to `'Tbg'`.  It's conceivable that bugs could arise
 if a user happens to work with a multivariate power series ring, and also
 with a univariate power series ring having the same indeterminate name as
 that of the background ring of the multivariate ring.

 Since I don't know exactly how these might come up, if ever, I'd like to
 let this be sufficient for now, and add a more robust system of
 protections against possible bugs in a separate ticket.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1956#comment:118>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to