#11801: ill-formed documentation of HilbertClassPolynomialDatabase
-------------------------------+--------------------------------------------
   Reporter:  zimmerma         |          Owner:  mvngu            
       Type:  defect           |         Status:  positive_review  
   Priority:  minor            |      Milestone:  sage-4.7.2       
  Component:  documentation    |       Keywords:  ecc2011          
Work_issues:                   |       Upstream:  N/A              
   Reviewer:  Paul Zimmermann  |         Author:  Jean-Pierre Flori
     Merged:                   |   Dependencies:                   
-------------------------------+--------------------------------------------
Description changed by leif:

Old description:

> there is a formatting issue:
> {{{
> sage: HilbertClassPolynomialDatabase?
> ...
>        EXAMPLES:
>           sage: db = HilbertClassPolynomialDatabase() sage: db[-4]
>           # optional Kohel database required x - 1728 sage: db[-7]
>           # optional x + 3375 sage: f = db[-23]; f         # optional x^3
>           + 3491750*x^2 - 5151296875*x + 12771880859375 sage:
>           f.discriminant().factor()    # optional -1 * 5^18 * 7^12 * 11^4
>           * 17^2 * 19^2 * 23 sage: db[-23]                      #
> optional
>           x^3 + 3491750*x^2 - 5151296875*x + 12771880859375
> }}}

New description:

 there is a formatting issue:
 {{{
 sage: HilbertClassPolynomialDatabase?
 ...
        EXAMPLES:
           sage: db = HilbertClassPolynomialDatabase() sage: db[-4]
           # optional Kohel database required x - 1728 sage: db[-7]
           # optional x + 3375 sage: f = db[-23]; f         # optional x^3
           + 3491750*x^2 - 5151296875*x + 12771880859375 sage:
           f.discriminant().factor()    # optional -1 * 5^18 * 7^12 * 11^4
           * 17^2 * 19^2 * 23 sage: db[-23]                      # optional
           x^3 + 3491750*x^2 - 5151296875*x + 12771880859375
 }}}

 ----

 Apply [attachment:trac_11801.patch] to the Sage library.

--

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