Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.