#20330: hyperbolic_geodesic midpoint bugfix
-------------------------------------------------+------------------------
       Reporter:  jhonrubia6                     |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-7.2
      Component:  geometry                       |   Resolution:
       Keywords:  hyperbolic geometry, geodesic  |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  N/A                            |  Work issues:
         Branch:                                 |       Commit:
   Dependencies:                                 |     Stopgaps:
-------------------------------------------------+------------------------

Comment (by tscrim):

 It seems that the matrix is sufficiently complicated that it just runs up
 against the Python function call limit. If I run `simplify_full` on the
 matrix first, then it works (and I can even run in again to simplify it
 further). So this would be one way to hack around this.

 Although we might benefit from having a special case for inverting 2x2
 matrices using the explicit form:
 {{{
 [A B]^-1 = __1__ [ D -B]
 [C D]      AD-BC [-C  A]
 }}}
 This would give another way around this (it should be faster and in some
 ways, more robust) as this code only deals with 2x2 matrices.

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

Reply via email to