Aaron S. Meurer wrote:
> 
> On Jul 7, 2009, at 12:29 PM, Christophe wrote:
> 
>> Aaron S. Meurer a écrit :
>>> You're probably right.  According to 
>>> http://en.wikipedia.org/wiki/Interval_(mathematics)#Notations_for_intervals
>>> , there is a different notation based on whether you are in America  
>>> or
>>> in Europe.  I think we can allow multiple different notations for the
>>> arguments of the function. For example, also allow the use of a
>>> bracket to denote open and a parenthesis to denote closed as is the
>>> standard notation, so open-closed would be '(]', and so on.
>>>
>>> As to printing, I think we need to decide.  I have never seen
>>> the ]3,4] notation, but I guess that is used.  What do you think?  I
>>> guess we can include to option to have both, but we still need a
>>> default option.
>>>
>> ]3;4] is the french standard notation of (3,4]. I could add an  
>> optional
>> argument lang. The choice lang='fr' will write ]3;4] and other value  
>> of
>> lang will write (3,4].
> According to the Wikipedia article, that notation is based on ISO  
> 31-11 and is used in Europe and South America.  I think maybe the  
> argument should be notation="American" for (3,4], and  
> notation="European" for ]3, 4], with "American" as the default.

To confuse the matter further: there is also Czech notation: (3,4> :)

r.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to