|
template<size_t D> |
bool | kjb::operator== (const Weight_array< D > &left, const Weight_array< D > &right) |
|
template<size_t D> |
bool | kjb::operator!= (const Weight_array< D > &left, const Weight_array< D > &right) |
|
template<size_t D> |
Weight_array< D > | kjb::operator+ (const Weight_array< D > &left, const Weight_array< D > &right) |
| Free function declarations. More...
|
|
template<size_t D> |
Weight_array< D > | kjb::operator* (const Weight_array< D > &left, const Weight_array< D > &right) |
|
template<size_t D> |
Weight_array< D > | kjb::operator/ (const Weight_array< D > &left, const Weight_array< D > &right) |
|
template<size_t D> |
Weight_array< D > | kjb::operator+ (const Weight_array< D > &w, const typename Weight_array< D >::Val_type &offset) |
|
template<size_t D> |
Weight_array< D > | kjb::operator* (const Weight_array< D > &w, const typename Weight_array< D >::Val_type &scale) |
|
template<size_t D> |
Weight_array< D > | kjb::operator/ (const Weight_array< D > &w, const typename Weight_array< D >::Val_type &right) |
|
template<size_t D, size_t K> |
Weight_array< D > | kjb::convex_combination (const Weight_array< K > &weights, const boost::array< Weight_array< D >, K > &components) |
|
template<size_t D> |
std::ostream & | kjb::operator<< (std::ostream &os, const Weight_array< D > &wa) |
|
template<typename T , size_t D> |
std::ostream & | kjb::operator<< (std::ostream &os, const boost::array< T, D > &arr) |
|
- Author
- Colin Dawson
implements a class to handle possibly unnormalized weight vectors to be manipulated outside the context of a distribution object. Largely syntactic sugar over std algorithms