inlib
1.2.0
|
#include <vector>
#include <ostream>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | inlib |
manipulations that induces other includes : /////////// | |
Defines | |
#define | inlib_vmanip |
Functions | |
template<class T > | |
void | inlib::clear (std::vector< T * > &a_vec) |
manipulations that induces no intermediate vector : // | |
template<class T > | |
void | inlib::append (std::vector< T > &a_vec, const std::vector< T > &a_from) |
template<class T > | |
void | inlib::unique (std::vector< T > &a_vec) |
template<class T > | |
bool | inlib::item_index (const std::vector< T > &a_vec, const T &a_item, unsigned int &a_index) |
template<class T > | |
bool | inlib::minimum (const std::vector< T > &a_vec, T &a_value) |
template<class T > | |
bool | inlib::maximum (const std::vector< T > &a_vec, T &a_value) |
template<class T > | |
T | inlib::sum (const std::vector< T > &a_vec) |
template<class T > | |
void | inlib::filter (std::vector< T > &a_vec, unsigned int a_mn, unsigned int a_mx) |
template<class T > | |
void | inlib::steps (std::vector< T > &a_vec, unsigned int a_number) |
template<class T > | |
bool | inlib::add (std::vector< T > &a_vec, const std::vector< T > &a_v) |
template<class T > | |
bool | inlib::sub (std::vector< T > &a_vec, const std::vector< T > &a_v) |
template<class T > | |
bool | inlib::div (std::vector< T > &a_vec, const std::vector< T > &a_v) |
template<class T > | |
void | inlib::add (std::vector< T > &a_vec, const T &a_v) |
template<class T > | |
void | inlib::sub (std::vector< T > &a_vec, const T &a_v) |
template<class T > | |
void | inlib::mul (std::vector< T > &a_vec, const T &a_v) |
template<class T > | |
void | inlib::div (std::vector< T > &a_vec, const T &a_v) |
template<class FROM , class TO > | |
std::vector< TO > | inlib::convert (const std::vector< FROM > &a_from) |
template<class T > | |
void | inlib::dump (const std::vector< T > &a_vec, std::ostream &a_out) |
template<class T > | |
bool | inlib::mean_rms (const std::vector< T > &a_vec, T &a_mean, T &a_rms) |