Opened 12 years ago

Last modified 7 years ago

#4951 new enhancement

expose Singular's numerical solver

Reported by: malb Owned by: jkantor
Priority: minor Milestone: sage-6.4
Component: numerical Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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

Change History (4)

comment:1 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:2 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:3 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:4 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4
Note: See TracTickets for help on using tickets.