trace edit page

compute the traces of a rank 2 tensor

Synatx

t = trace(T)

Syntax

t = trace(T)

Input

T tensor

Output

t double