Template Function navtk::dot
Defined in File linear_algebra.hpp
Function Documentation
-
template<typename A, typename B, IfFirstTensorOfDim<A, B, 1>* = nullptr>
Vector navtk::dot(A &&a, B &&b) - Template Parameters
A – An xtensor container object with 1 dimension.
B – An xtensor container object with 2 dimensions.
IfFirstTensorOfDim<> – Invalidates the template for non-matching types. (Has no effect on the function).
- Parameters
a – The left 1-D matrix.
b – The right matrix.
- Returns
the matrix product of
aandb.