|
inline |
Scalar product of two tensors.
By default, the elements of the second tensor are complex-conjugated. Legs of the tensors have to be in the same order. Equivalent to reshaping both tensors into vectors and taking the Euclidean scalar product of those.
a | first tensor |
b | second tensor |
conj | if Yes (default), complex-conjugate the second tensor |
location | Callsite identifier. |
References syten::CudaDenseTensorImpl::conj(), and std::iota().