#2329: Add interface to PARI's rnfisnorm()
-------------------------------------------------------------------------+--
   Reporter:  craigcitro                                                 |      
 Owner:  craigcitro            
       Type:  enhancement                                                |      
Status:  needs_review          
   Priority:  major                                                      |   
Milestone:  sage-4.7              
  Component:  number fields                                              |    
Keywords:  editor_craigcitro pari
     Author:  Craig Citro, Marco Streng, Francis Clarke, Jeroen Demeyer  |    
Upstream:  N/A                   
   Reviewer:  Nick Alexander, David Loeffler, Jeroen Demeyer             |      
Merged:                        
Work_issues:                                                             |  
-------------------------------------------------------------------------+--

Comment(by jdemeyer):

 Replying to [comment:45 davidloeffler]:
 > Is that supposed to be {{{("y")}}} or {{{("'y'")}}} perhaps?

 No, {{{'y}}} is correct.  I have added some comments to that code in the
 patch.

 Basically, the {{{'y}}} syntax is PARI's way of refering to a ''variable''
 (as opposed to the ''value'' of a variable).  See the following `gp`
 session:

 {{{
 gp> y = 42
 %1 = 42
 gp> y
 %2 = 42
 gp> 'y
 %3 = y
 gp> subst(x^3, x, y)
 %4 = 74088
 gp> subst(x^3, x, 'y)
 %5 = y^3
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2329#comment:46>
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