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 - loose of sign when using imap for mapping polynomials from o
Author Message
  Post subject:  Re: loose of sign when using imap for mapping polynomials from o  Reply with quote
thank you, the conversion is working now,
madalina
Post Posted: Mon Aug 31, 2009 11:54 am
  Post subject:  Re: loose of sign when using imap for mapping polynomials from o  Reply with quote
If you specify the number of decimal places while defining the ring, then there is no problem:

ring r=(real,10), (x,y), dp;

I do not know why the problem occurs, but this works. See Section 3.3.1 of the Singular manual for the syntax.
Post Posted: Sat Aug 29, 2009 8:06 am
  Post subject:  loose of sign when using imap for mapping polynomials from o  Reply with quote
I want to map some polynomials from the ring of reals to the ring of rationals, using imap.
Thus when using imap (or fetch), the sign of the polynomials in the new ring are not preserved, I always obtain only positive coefficients.
Here is the code example:
> ring r=real, (x,y), dp;
> poly f= -1+2x2+3y3-2x-3y;
> poly g= -1-2x2-3y3+x+3y;
> ideal m=f,g;
> ring t=0,(x,y),dp;
> ideal n=imap(r,m);
> n[1];
3y3+2x2+2x+3y+1
> n[2];
3y3+2x2+x+3y+1
> poly newf=imap(r,f);
> poly newg=imap(r,g);
> newf;
3y3+2x2+2x+3y+1
> newg;
3y3+2x2+x+3y+1

I would really appreciate if someone could give me some hints on how to preserve the sign of the original coefficients in the new ring (and if someone can explain me what happens).

thanks you in advance,
madalina
Post Posted: Fri Aug 28, 2009 11:24 am


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