#include <VectorHelper.h>
|
static void | add2All (std::vector< T > &v, T what) |
|
static void | div (std::vector< T > &v, T by) |
|
static T | maxValue (const std::vector< T > &v) |
|
static T | minValue (const std::vector< T > &v) |
|
static void | normaliseSum (std::vector< T > &v, T msum=1.0) |
|
static void | remove_larger_than (std::vector< T > &v, T swell) |
|
static void | remove_smaller_than (std::vector< T > &v, T swell) |
|
static void | removeDouble (std::vector< T > &v) |
|
static void | set (std::vector< T > &v, T to) |
|
static bool | subSetExists (const std::vector< T > &v1, const std::vector< T > &v2) |
| Returns the information whether at least one element is within both vectors. More...
|
|
static T | sum (const std::vector< T > &v) |
|
template<class T>
class VectorHelper< T >
Definition at line 37 of file VectorHelper.h.
◆ add2All()
template<class T >
static void VectorHelper< T >::add2All |
( |
std::vector< T > & |
v, |
|
|
T |
what |
|
) |
| |
|
inlinestatic |
◆ div()
template<class T >
static void VectorHelper< T >::div |
( |
std::vector< T > & |
v, |
|
|
T |
by |
|
) |
| |
|
inlinestatic |
◆ maxValue()
template<class T >
static T VectorHelper< T >::maxValue |
( |
const std::vector< T > & |
v | ) |
|
|
inlinestatic |
◆ minValue()
template<class T >
static T VectorHelper< T >::minValue |
( |
const std::vector< T > & |
v | ) |
|
|
inlinestatic |
◆ normaliseSum()
template<class T >
static void VectorHelper< T >::normaliseSum |
( |
std::vector< T > & |
v, |
|
|
T |
msum = 1.0 |
|
) |
| |
|
inlinestatic |
◆ remove_larger_than()
template<class T >
static void VectorHelper< T >::remove_larger_than |
( |
std::vector< T > & |
v, |
|
|
T |
swell |
|
) |
| |
|
inlinestatic |
◆ remove_smaller_than()
template<class T >
static void VectorHelper< T >::remove_smaller_than |
( |
std::vector< T > & |
v, |
|
|
T |
swell |
|
) |
| |
|
inlinestatic |
◆ removeDouble()
template<class T >
static void VectorHelper< T >::removeDouble |
( |
std::vector< T > & |
v | ) |
|
|
inlinestatic |
◆ set()
template<class T >
static void VectorHelper< T >::set |
( |
std::vector< T > & |
v, |
|
|
T |
to |
|
) |
| |
|
inlinestatic |
◆ subSetExists()
template<class T >
static bool VectorHelper< T >::subSetExists |
( |
const std::vector< T > & |
v1, |
|
|
const std::vector< T > & |
v2 |
|
) |
| |
|
inlinestatic |
Returns the information whether at least one element is within both vectors.
Definition at line 134 of file VectorHelper.h.
◆ sum()
template<class T >
static T VectorHelper< T >::sum |
( |
const std::vector< T > & |
v | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: