SyTen

◆ trace() [3/5]

SDef syten::trace ( Tensor< 1 > const &  a)

Calculates the trace of a rank-1 tensor.

References conj(), syten::YesNo< struct _prod_conj >::n(), prod(), and SYTEN_ASSERT_MSG.

+ Here is the call graph for this function: