#17447: Clarify and complete documentation of function()
---------------------------------+------------------------
       Reporter:  schymans       |        Owner:
           Type:  enhancement    |       Status:  new
       Priority:  major          |    Milestone:  sage-6.5
      Component:  documentation  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:  schymans       |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+------------------------

Comment (by schymans):

 Awesome, thank you, Nils. These things always confused me, so I'm relieved
 to hear that they should be avoided! Even the documentation of var is full
 of such examples:
 {{{
 sage: x = var('x', domain=RR); x; x.conjugate()
 x
 x
 sage: y = var('y', domain='real'); y.conjugate()
 y
 sage: y = var('y', domain='positive'); y.abs()
 y

 Custom latex expression can be assigned to variable:

 sage: x = var('sui', latex_name="s_{u,i}"); x._latex_()
 's_{u,i}'

 }}}

 Should we change these examples, too?

--
Ticket URL: <http://trac.sagemath.org/ticket/17447#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to