Inner[f, list1, list2, g]是 Dot 的一个推广,其中 f 起乘法的作用而 g 起加法的作用.
使用"乘法算子" g,计算两个列表的"内积 f":
计算一个矩阵和一个向量的广义内积:
用相似操作:
Outer Dot Thread MapThread ListCorrelate
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »