19#ifndef UTILS_MATH_TENSOR_PRODUCT_HPP
20#define UTILS_MATH_TENSOR_PRODUCT_HPP
29template <
typename T, std::
size_t N, std::
size_t M>
31 return boost::qvm::col_mat(x) * boost::qvm::row_mat(y);
37template <
typename T, std::
size_t N>
Vector implementation and trait types for boost qvm interoperability.
Matrix implementation and trait types for boost qvm interoperability.
Matrix< T, N, M > tensor_product(const Vector< T, N > &x, const Vector< T, M > &y)
Matrix representation with static size.