Qurak

Tr

可用

Computes the trace of a matrix or array with an optional combiner function and index level (sum of main-diagonal entries by default)

Tr[list]
Tr[list, f]
Tr[list, f, n]
Tr[{{1, 2}, {3, 4}}] → 5

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用