||
10. expressions with heads that are not symbols
f[x]
f[1][x] This function has head f[1]. You can use head like this to represent indexed functions.
(a+b)[x] You can use any expression as a head. Just remember to put it in necessary parenthese.
常见的例子:
1)pure funtion
Function[x, x^2][a + b]
2)InterpolatingFunction[data][args]
3)function opreators
Derivative[1][f][x]
备注: 函数的head本身是expr。
In[2]:= p1 = p2; p1[x, y] Out[2]= p2[x, y]
In[5]:= InverseFunction[ArcSin] Out[5]= Sin
Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )
GMT+8, 2024-3-28 21:16 , Processed in 0.023204 second(s), 12 queries , Gzip On, MemCache On.
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.