On Aug 18, 2009, at 9:56 PM, rjf wrote: > Let's see, in sage then you have the following syntax. > (x,y) means a list
Technically, a tuple (immutable, where as lists (using [] like maxima) are mutable). > f(x,y) means a function application That's pretty standard in mathematics and programming. > (x+y) means grouping for arithmetic. Same here. > RationalField(x) means, uh, sortof "in indeterminate..." > Integer(4) means, uh, set the type? force a coercion? These are function calls, just like f(x,y) above. (In Python, class constructors are just function calls.) > Are there any other distinct uses of ()? Smilies :). Oh, you meant in Sage. Not that I can think of. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
