Calculate dot product of 2 vectors.
You can find more information in comments below.
template<class TYPE, size_t SIZE>
TYPE dot(const TTensor<TYPE, SIZE> &v1, const TTensor<TYPE, SIZE> &v2);
Namespace: |
nitisa::math |
Include: |
Nitisa/Modules/Math/Tensor.h |