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 - complex conjugation
Author Message
  Post subject:   Reply with quote
> I am still using Singular 1-2-3
> I don't know how to compute the real part
> of an element in Q[i], i^2=-1.
> The manual says nothing about complex conjugation.
> I am aware that Singular 2 has complex numbers,
> but do I really have to install it just to
> use complex conjugation (on the coefficients
> of a polynomial ring)?

Probably there is no way to do it with Singular-1-2-3,
since working with "numbers" is not very easy.
Anyway you can define some procedure like thie above
one (I think it should work even with that version).
I assume you are in a polynomial ring of char=0
and minpoly=i^2+1.

proc real_part (number a)
{
def BR=basering;
string rea=string(a);
ring auxR=0,i,lp;
execute("poly Rea="+rea+";");
Rea=subst(Rea,i,0);
rea=string(Rea);
setring BR;
kill(auxR);
execute("number REa="+rea+";");
return(REa);
}


Good luck.


email: ignfar@eis.uva.es
Posted in old Singular Forum on: 2002-04-29 11:29:38+02
Post Posted: Wed Sep 21, 2005 8:51 pm
  Post subject:  complex conjugation  Reply with quote
I am still using Singular 1-2-3
I don't know how to compute the real part
of an element in Q[i], i^2=-1.
The manual says nothing about complex conjugation.
I am aware that Singular 2 has complex numbers,
but do I really have to install it just to
use complex conjugation (on the coefficients
of a polynomial ring)?

email: djokovic@uwaterloo.ca
Posted in old Singular Forum on: 2002-04-27 18:32:35+02
Post Posted: Thu Aug 11, 2005 5:31 pm


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