MultiAgentDecisionProcess
Release 0.2.1
|
Functions | |
template<typename T > | |
bool | Equal (const std::vector< T > &vec1, const std::vector< T > &vec2) |
template<typename T > | |
T | InnerProduct (const std::vector< T > &vec1, const std::vector< T > &vec2) |
template<typename T > | |
T | MaxNorm (const std::vector< T > &vec) |
template<typename T > | |
T | VectorProduct (const std::vector< T > &vec) |
Compute the product of the vector's elements. |
bool VectorTools::Equal | ( | const std::vector< T > & | vec1, |
const std::vector< T > & | vec2 | ||
) |
Definition at line 39 of file VectorTools.h.
T VectorTools::InnerProduct | ( | const std::vector< T > & | vec1, |
const std::vector< T > & | vec2 | ||
) |
Definition at line 61 of file VectorTools.h.
T VectorTools::MaxNorm | ( | const std::vector< T > & | vec | ) |
Definition at line 102 of file VectorTools.h.
T VectorTools::VectorProduct | ( | const std::vector< T > & | vec | ) |
Compute the product of the vector's elements.
clearly the product operator* should be defined for type T
Definition at line 85 of file VectorTools.h.