码迷,mamicode.com
首页 > 其他好文 > 详细

积和式Permanent在Mathematica中的运算

时间:2014-11-20 23:13:26      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:style   http   ar   color   sp   on   bs   html   ef   

Permanent[m_List] :=
With[{v = Array[x, Length[m]]},
Coefficient[Times @@ (m.v), Times @@ v]]

 

参考资料: http://mathworld.wolfram.com/Permanent.html

积和式Permanent在Mathematica中的运算

标签:style   http   ar   color   sp   on   bs   html   ef   

原文地址:http://www.cnblogs.com/zhangzujin/p/4111583.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!