On Oct 7, 10:39 pm, Francois Maltey <fmal...@nerim.fr> wrote:
> Hello,
>
> I play with expressions, and transform sin(x) to (exp(i*x)-exp(-i*x))/2.
>
> So I use a lot of test as
>
> var ('x')
> y = cos(x)      # or any other expression"
> op = y.operator   # so op == cos
> if op == cos : ...  # this test is fine, not the next one
> else : ...
>
> Now I want to test an expression with the binomial function call.
>
> y = binomial (3*x, x)    # is fine
> op = y.operator()          # is also fine

Why is there a () here, but not in the previous example?

Dag

-- 
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