On Saturday, February 4, 2012 7:04:32 AM UTC+8, kcrisman wrote:
>
>
> This might be a different problem.  Shouldn't this give a syntax 
> error, folks? 
>
> sage: h(x,y) = x+y 
> sage: h(3) 
> y + 3 
>
> ???  I thought the whole *point* of the h(x,y) notation was to specify 
> the order - but then you'd figure it would also specify the number of 
> entries.  I guess this is a shorthand, perhaps, but then I don't know 
> how to get just h(,3) (which is naturally an error), which you'd want 
> by symmetry.  I guess h(x,3) works, but then we should (perhaps?) 
> require h(3,y) as well? 
>
> - kcrisman


I think h(3) should give syntax error. It doesn't make sense 
mathematically, and otherwise, it is ambiguous.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to