Returns the diagonal entries of the rank-2 input tensor.
References diagonal(), if_constexpr, syten::STensorImpl::STensor::rank(), SYTEN_ASSERT, SYTEN_TENSOR_RANK, and syten::STensorImpl::STensor::visit().
Referenced by diagonal().
Here is the call graph for this function:
Here is the caller graph for this function: