Robert Bradshaw <[EMAIL PROTECTED]> writes:

> On May 21, 2007, at 8:30 PM, [EMAIL PROTECTED] wrote:
>
>>>>>> Also is there a way to switch between 'radian' and 'degree' modes
>>>>>> like
>>>>>> in some calculators?
>>
>> I'm not sure whether we should add support for this or not... how
>> useful would it be? Do any of the M's do this?
>>
>> Thanks for the input and feedback,
>
> I would argue against this. Global modes are in general something I  
> think should be avoided, and especially for something like this  
> (imagine if something used sin in its plot method, would it have to  
> be mode aware? Something that uses sin to do fourier transformations  
> internally?) Also, would the derivatives, simplifications, etc. have  
> to respect radian vs. degree mode?

-1 to global state.

Nick

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to