Singular
https://www.singular.uni-kl.de/forum/

complex numbers
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1687
Page 1 of 1

Author:  peter [ Thu Oct 23, 2008 3:00 pm ]
Post subject:  complex numbers

hi,

sorry for that simple question, but how can i write down complex numbers?

i tried:

ring r= complex, ... ;

ideal J = x-5-5i, ... ;

and then had an error as "i" was new to singular.

thx for ur help!

Author:  wienand [ Mon Nov 03, 2008 9:46 am ]
Post subject: 

You have to include a '*' between the imaginary unit 'i' and the number, i.e.

Code:
ideal J = x-5-5*i, ... ;

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/