|
SOMHunter Core
|
File implementing oprations with vectors. More...


Go to the source code of this file.
Namespaces | |
| math | |
| math::vector | |
Functions | |
| template<typename T_ > | |
| std::vector< T_ > | math::vector::sub (const std::vector< T_ > &left, const std::vector< T_ > &right) |
| Computes the substraction of the given vectors (left - right). More... | |
| template<typename T_ > | |
| std::vector< T_ > | math::vector::add (const std::vector< T_ > &left, const std::vector< T_ > &right) |
| Computes the addition of the given vectors (left + right). More... | |
| template<typename T_ , typename S_ > | |
| std::vector< T_ > | math::vector::mult (const std::vector< T_ > &left, S_ right) |
Computes the element-wise multiplication of the given vector and constant right. More... | |
| template<typename T_ > | |
| std::vector< T_ > | math::vector::mult (const std::vector< T_ > &left, const std::vector< T_ > &right) |
| Computes the element-wise multiplication of the given vectors. More... | |
| template<typename T_ > | |
| T_ | math::vector::dot (const std::vector< T_ > &left, const std::vector< T_ > &right) |
| Computes the dot product of the given vectors. More... | |
| template<typename T_ > | |
| std::vector< T_ > | math::vector::mat_mult (const std::vector< std::vector< T_ >> &mat, const std::vector< T_ > &vec) |
| template<typename T_ > | |
| float | math::vector::length (const std::vector< T_ > &left) |
| template<typename T_ > | |
| std::vector< T_ > | math::vector::normalize (const std::vector< T_ > &left) |
File implementing oprations with vectors.