level 9
0577216
楼主
FormTimes[facs___] := 0 /; MemberQ[{facs}, 0]
FormTimes[facs___] := FormTimes @@ DeleteCases[{facs}, 1]
FormTimes /: D[FormTimes[facs___], any__] :=
Plus @@ FormTimes @@@ (MapAt[D[
#, any] &, facs, #
] & /@ Range[Length[facs]])
其中第三条语句运行后出现
TagSetDelayed::tagpos : "\"Tag FormTimes in ‘™˜SubscriptBox[™∂, \
™any__]™Hold[FormTimes[facs___]] is too deep for an assigned rule to be \
found. \""
从表面看,FormTimes并没有隐藏得很深,但它莫名其妙被Hold住了,结果就。。。
但是Attributes[D]给出{Protected, ReadProtected},并没有Hold族属性啊
怎么办怎么办~~~~![[撞墙至死]](/static/emoticons/u649eu5899u81f3u6b7b.png)
![[撞墙至死]](/static/emoticons/u649eu5899u81f3u6b7b.png)
![[撞墙至死]](/static/emoticons/u649eu5899u81f3u6b7b.png)
![[撞墙至死]](/static/emoticons/u649eu5899u81f3u6b7b.png)
喵呜~~~~~嗷嗷嗷嗷~~~~~~~~~![[无聊]](/static/emoticons/u65e0u804a.png)
![[在笼子里]](/static/emoticons/u5728u7b3cu5b50u91cc.png)
![[在笼子里]](/static/emoticons/u5728u7b3cu5b50u91cc.png)
![[在笼子里]](/static/emoticons/u5728u7b3cu5b50u91cc.png)
2013年05月26日 06点05分
1
FormTimes[facs___] := FormTimes @@ DeleteCases[{facs}, 1]
FormTimes /: D[FormTimes[facs___], any__] :=
Plus @@ FormTimes @@@ (MapAt[D[
#, any] &, facs, #
] & /@ Range[Length[facs]])
其中第三条语句运行后出现
TagSetDelayed::tagpos : "\"Tag FormTimes in ‘™˜SubscriptBox[™∂, \
™any__]™Hold[FormTimes[facs___]] is too deep for an assigned rule to be \
found. \""
从表面看,FormTimes并没有隐藏得很深,但它莫名其妙被Hold住了,结果就。。。
但是Attributes[D]给出{Protected, ReadProtected},并没有Hold族属性啊
怎么办怎么办~~~~
喵呜~~~~~嗷嗷嗷嗷~~~~~~~~~