Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Using solve with a complex base ring
Author Message
  Post subject:  Re: Using solve with a complex base ring  Reply with quote
Yes, the correct fix is
https://github.com/Singular/Sources/commit/a5506e9bcabe897f284fb0d9c22069461daa5b74,
as the routines of triang.lib MAY require factorization of polynomials
which is not implemented for complex (i.e. inexact) coeffcients.
Post Posted: Thu Jan 11, 2018 12:31 pm
  Post subject:  Re: Using solve with a complex base ring  Reply with quote
Wonderful, thank you!

Should charstr(r) be charstr(basering)?
Post Posted: Tue Jan 09, 2018 10:35 pm
  Post subject:  Re: Using solve with a complex base ring  Reply with quote
Download
https://raw.githubusercontent.com/Singular/Sources/spielwiese/Singular/LIB/triang.lib
and substitute your triang.lib with it.
(or apply the fix:
https://github.com/Singular/Sources/commit/6329a81b7cafaee38b65741b7f22b6dda976a133)
Post Posted: Tue Jan 09, 2018 3:30 pm
  Post subject:  Using solve with a complex base ring  Reply with quote
In the manual, it says that the
Code:
solve
function assumes that the base ring is either complex or without parameters. However, when I try to use the
Code:
solve
function with a complex base ring, I get the error that "basering has parameters". Should I be defining my base ring differently, or does
Code:
solve
not work with a complex base ring?

Code:
LIB "solve.lib";
ring r = complex, (x,y), dp;
ideal I = ((x-5)*y+16)/32, y^2-x^3-5*x-10;
solve(I);
Post Posted: Mon Jan 08, 2018 5:11 pm


It is currently Fri May 13, 2022 11:03 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group