|
template<typename T > |
auto | ROOT::VecOps::All (const RVec< T > &v) -> decltype(v[0]==false) |
| Return true if all of the elements equate to true, return false otherwise. More...
|
|
template<typename T > |
auto | ROOT::VecOps::Any (const RVec< T > &v) -> decltype(v[0]==true) |
| Return true if any of the elements equates to true, return false otherwise. More...
|
|
template<typename T > |
RVec< typename RVec< T >::size_type > | ROOT::VecOps::Argsort (const RVec< T > &v) |
| Return an RVec of indices that sort the input RVec. More...
|
|
template<typename T > |
RVec< RVec< typename RVec< T >::size_type > > | ROOT::VecOps::Combinations (const RVec< T > &v, const typename RVec< T >::size_type n) |
| Return the indices that represent all unique combinations of the elements of a given RVec. More...
|
|
template<typename T1 , typename T2 > |
RVec< RVec< typename RVec< T1 >::size_type > > | ROOT::VecOps::Combinations (const RVec< T1 > &v1, const RVec< T2 > &v2) |
| Return the indices that represent all combinations of the elements of two RVecs. More...
|
|
template<typename T , typename V > |
auto | ROOT::VecOps::Dot (const RVec< T > &v0, const RVec< V > &v1) -> decltype(v0[0] *v1[0]) |
| Inner product. More...
|
|
template<typename T , typename F > |
RVec< T > | ROOT::VecOps::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 > |
RVec< T > | ROOT::VecOps::Intersect (const RVec< T > &v1, const RVec< T > &v2, bool v2_is_sorted=false) |
| Return the intersection of elements of two RVecs. More...
|
|
template<typename T , typename F > |
auto | ROOT::VecOps::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 | ROOT::VecOps::Mean (const RVec< T > &v) |
| Get the mean of the elements of an RVec. More...
|
|
template<typename T > |
RVec< typename RVec< T >::size_type > | ROOT::VecOps::Nonzero (const RVec< T > &v) |
| Return the indices of the elements which are not zero. More...
|
|
template<class T > |
std::ostream & | ROOT::VecOps::operator<< (std::ostream &os, const RVec< T > &v) |
| Print a RVec at the prompt: More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Reverse (const RVec< T > &v) |
| Return copy of reversed vector. More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Sort (const RVec< T > &v) |
| Return copy of RVec with elements sorted in ascending order. More...
|
|
template<typename T , typename Compare > |
RVec< T > | ROOT::VecOps::Sort (const RVec< T > &v, Compare &&c) |
| Return copy of RVec with elements sorted based on a comparison operator. More...
|
|
template<typename T > |
double | ROOT::VecOps::StdDev (const RVec< T > &v) |
| Get the standard deviation of the elements of an RVec. More...
|
|
template<typename T > |
T | ROOT::VecOps::Sum (const RVec< T > &v) |
| Sum elements of an RVec. More...
|
|
template<typename T > |
void | ROOT::VecOps::swap (RVec< T > &lhs, RVec< T > &rhs) |
|
template<typename T > |
RVec< T > | ROOT::VecOps::Take (const RVec< T > &v, const int n) |
| Return first or last n elements of an RVec. More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Take (const RVec< T > &v, const RVec< typename RVec< T >::size_type > &i) |
| Return elements of a vector at given indices. More...
|
|
template<typename T > |
double | ROOT::VecOps::Var (const RVec< T > &v) |
| Get the variance of the elements of an RVec. More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Where (const RVec< int > &c, const RVec< T > &v1, const RVec< T > &v2) |
| Return the elements of v1 if the condition c is true and v2 if the condition c is false. More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Where (const RVec< int > &c, const RVec< T > &v1, T v2) |
| Return the elements of v1 if the condition c is true and sets the value v2 if the condition c is false. More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Where (const RVec< int > &c, T v1, const RVec< T > &v2) |
| Return the elements of v2 if the condition c is false and sets the value v1 if the condition c is true. More...
|
|
template<typename T > |
RVec< T > | ROOT::VecOps::Where (const RVec< int > &c, T v1, T v2) |
| Return a vector with the value v2 if the condition c is false and sets the value v1 if the condition c is true. More...
|
|