The constructors mentioned in this line return Sym objects instead of SymFunction but what is the use of them? The callabality is broken if Sym object is used since f(t), then, returns the object f but silently it is changed to t. Then, it causes diff(f(t), t) to return 1.
The constructors mentioned in this line return
Sym
objects instead ofSymFunction
but what is the use of them? The callabality is broken ifSym
object is used sincef(t)
, then, returns the objectf
but silently it is changed tot
. Then, it causesdiff(f(t), t)
to return 1.