Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > 数学和算法 > 矩阵和线性代数 > 矩阵运算 >

Tr

Tr[list]
求矩阵或张量 list 的迹。
Tr[list, f]
求一个广义迹,代替 Plus,结合具有 f 的项。
Tr[list, f, n]
向下到 list 中的第 n 层。
  • Tr[list]list[[i, i, ...]] 中的对角元素的和。
  • Tr 对矩阵、方阵和张量使用。
4 的新功能 | 5 中的修改功能
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team