| 499 | //- Return the trace of a tensor |
| 500 | template<class Cmpt> |
| 501 | inline Cmpt tr(const Tensor<Cmpt>& t) |
| 502 | { |
| 503 | return t.xx() + t.yy() + t.zz(); |
| 504 | } |
| 505 | |
| 506 | |
| 507 | //- Return the spherical part of a tensor |
no outgoing calls
no test coverage detected