PFC 6.0
tensor.trace
Syntax
f
=
tensor.trace
(
t
)
Get the trace of a tensor. The tensor trace is the sum of the diagonal elements.
Returns:
f
- tensor trace
Arguments:
t
- tensor
⇄
PFC 6.0 documentation
»
Scripting
»
FISH
Scripting
»
FISH
Functions
»
⇐
tensor.total
|
tensor.traction.local
⇒
Was this helpful? ...
PFC 6.0
©
2019,
Itasca
Updated: Nov 19, 2021