Changeset 0e760d0 in git for Singular/LIB/solve.lib
- Timestamp:
- Jul 2, 1999, 6:14:41 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- bad4044b17c2db928e269ccf80888ade701dae6c
- Parents:
- 78315991a696a660dd3d43059499d754ccf8c669
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/solve.lib
r7831599 r0e760d0 1 1 /////////////////////////////////////////////////////////////////////////////// 2 2 3 version="$Id: solve.lib,v 1. 6 1999-07-02 14:33:45wenk Exp $";3 version="$Id: solve.lib,v 1.7 1999-07-02 16:14:41 wenk Exp $"; 4 4 info=" 5 5 LIBRARY: solve.lib PROCEDURES TO SOLVE POLYNOMIAL SYSTEMS … … 83 83 // now with complex coefficient field, precision is 10 digits 84 84 ring rsc= (real,10,I),(x,y),lp; 85 ideal i = x2 + y2 - 8, x2 + xy + 2y2;85 ideal i = (2+3*I)*x2 + (0.35+I*45.0e-2)*y2 - 8, x2 + xy + (42.7)*y2; 86 86 ures_solve(i); 87 87 // result is a list of (x,y)-coordinates of complex numbers … … 146 146 // Now with complex coefficients, precision is 20 digits: 147 147 ring rsc= (real,20,I),x,lp; 148 poly f = (15 +I*5)*x^5 + (0.25+I*2)*x^3 + x2 - 10*I;148 poly f = (15.4+I*5)*x^5 + (25.0e-2+I*2)*x^3 + x2 - 10*I; 149 149 list l = laguerre_solve(f); 150 150 l;
Note: See TracChangeset
for help on using the changeset viewer.