#4951: expose Singular's numerical solver
-------------------------+--------------------------------------------------
 Reporter:  malb         |       Owner:  jkantor 
     Type:  enhancement  |      Status:  new     
 Priority:  minor        |   Milestone:  sage-3.4
Component:  numerical    |    Keywords:          
-------------------------+--------------------------------------------------
 This should be more Sage-ish:

 {{{
 sage: P.<x,y,z> = PolynomialRing(QQ)
 sage: sage.rings.ideal.Katsura(P).dimension()
 0
 sage: I = sage.rings.ideal.Katsura(P)
 sage: singular.lib("solve")
 sage: singular.solve(I)

 //   characteristic : 0 (complex:8 digits, additional 8 digits)
 //   1 parameter    : i
 //   minpoly        : (i^2+1)
 //   number of vars : 3
 //        block   1 : ordering lp
 //                  : names    x y z
 //        block   2 : ordering C
 sage: singular.set_ring(_)

 sage: singular("SOL")
 [1]:
    [1]:
       0.63060194
    [2]:
       0.31530097
    [3]:
       -0.13060194
 [2]:
    [1]:
       1
    [2]:
       0
    [3]:
       0
 [3]:
    [1]:
       0.22654092
    [2]:
       0.11327046
    [3]:
       0.27345908
 [4]:
    [1]:
       0.33333333
    [2]:
       0
    [3]:
       0.33333333
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4951>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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