function vs expression
Hi there,
Is there a difference between, e.g.,
g=x^2
and
f(x)=x^2
?
In the literature the first is considered to be an expression while the other is a function, but checking their types gives
<class 'sage.symbolic.expression.Expression'>
in both cases.
Welcome to Ask Sage! Thank you for your question!