|
template<typename T , typename V > |
auto | Dot (const RVec< T > &v0, const RVec< V > &v1) -> decltype(v0[0] *v1[0]) |
| Inner product. More...
|
|
template<typename T , typename F > |
RVec< T > | Filter (const RVec< T > &v, F &&f) |
| Create a new collection with the elements passing the filter expressed by the predicate. More...
|
|
template<typename T , typename F > |
auto | Map (const RVec< T > &v, F &&f) -> RVec< decltype(f(v[0]))> |
| Create new collection applying a callable to the elements of the input collection. More...
|
|
template<typename T > |
double | Mean (const RVec< T > &v) |
| Get Mean. More...
|
|
template<class T > |
std::ostream & | operator<< (std::ostream &os, const RVec< T > &v) |
| Print a RVec at the prompt: More...
|
|
template<typename T > |
double | StdDev (const RVec< T > &v) |
| Get standard deviation. More...
|
|
template<typename T > |
T | Sum (const RVec< T > &v) |
| Sum elements. More...
|
|
template<typename T > |
void | swap (RVec< T > &lhs, RVec< T > &rhs) |
|
template<typename T > |
double | Var (const RVec< T > &v) |
| Get variance. More...
|
|