#20739: Make snappy an optional package
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-7.3
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:  days74             |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/20739       |  be1b40d99510bbbeeacc60b66fd0fcf8e8a3a03f
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 As a first step, Nathan tought us the `sage_link` method
 {{{
 sage:
 sage: import snappy
 sage: L = snappy.Link('K10n11')
 sage: K = L.sage_link()
 sage: K.alexander_polynomial()
 -t^-3 + 5*t^-2 - 9*t^-1 + 11 - 9*t + 5*t^2 - t^3
 sage: L.alexander_polynomial()
 t^6 - 5*t^5 + 9*t^4 - 11*t^3 + 9*t^2 - 5*t + 1
 }}}
 And there is a nice conversion from Sage link to SnapPy handled
 automatically
 {{{
 sage: B = BraidGroup(8)
 sage: K = Link(B([-1, -1, -1, -2, 1, -2, 3, -2, 3]))
 sage: L = snappy.Link(K)
 }}}

 This might already help for:
  - double checking the outputs (from both sides)
  - comparing the implementations

 To enhance it further we could make work the natural conversion the other
 way around
 {{{
 sage: L = snappy.Link('K10n11')
 sage: Link(L)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20739#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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to