[sage-support] Re: prevent complex numbers ?

2008-12-03 Thread Burcin Erocal
On Tue, 2 Dec 2008 15:11:19 -0800 (PST) Stan Schymanski [EMAIL PROTECTED] wrote: Hi Robert, On Dec 2, 5:50 am, Robert Bradshaw [EMAIL PROTECTED] wrote: Are you saying you would like to pass in a domain when creating the variables? Something like sage: var('omega', domain=RR)

[sage-support] Re: prevent complex numbers ?

2008-12-02 Thread Stan Schymanski
Hi Robert, On Dec 2, 5:50 am, Robert Bradshaw [EMAIL PROTECTED] wrote: Are you saying you would like to pass in a domain when creating the   variables? Something like sage: var('omega', domain=RR) YES, that would be great. Here is the error I found. The result given by

[sage-support] Re: prevent complex numbers ?

2008-12-01 Thread [EMAIL PROTECTED]
On Nov 28, 1:28 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Nov 28, 9:14 am, Robert Bradshaw [EMAIL PROTECTED] wrote: On Nov 27, 2008, at 6:58 AM, [EMAIL PROTECTED] wrote: Hello, the example below shows that a complex number ( i think the I stands for it ? ) appears by

[sage-support] Re: prevent complex numbers ?

2008-12-01 Thread Robert Bradshaw
On Dec 1, 2008, at 5:11 AM, Stan Schymanski wrote: Hi Robert, I wasn't aware of the real() function; pretty cool. I tried it out myself in the above example and found an error. Not sure whether this is an error in the real() function or in simplify_full. I suspect the latter. Could you

[sage-support] Re: prevent complex numbers ?

2008-11-28 Thread Robert Bradshaw
On Nov 27, 2008, at 6:58 AM, [EMAIL PROTECTED] wrote: Hello, the example below shows that a complex number ( i think the I stands for it ? ) appears by doing a simplify_full. Is there a way to prevent this and to get output in real number format? sage: var('omgo zr ys cz') sage: eqomgo =

[sage-support] Re: prevent complex numbers ?

2008-11-28 Thread [EMAIL PROTECTED]
On Nov 28, 9:14 am, Robert Bradshaw [EMAIL PROTECTED] wrote: On Nov 27, 2008, at 6:58 AM, [EMAIL PROTECTED] wrote: Hello, the example below shows that a complex number ( i think the I stands for it ? ) appears by doing a simplify_full. Is there a way to prevent this and to get output