Xmipp
v3.23.11-Nereus
|
#include <cmath>
#include <stdexcept>
#include <vector>
#include <functional>
#include <algorithm>
#include <sstream>
#include <random>
Go to the source code of this file.
Functions | |
template<class T > | |
std::vector< T > | operator+ (const std::vector< T > &v, const T &a) |
template<class T > | |
std::vector< T > | operator+ (const T &a, const std::vector< T > &v) |
template<class T > | |
std::vector< T > | operator- (const std::vector< T > &v, const T &a) |
template<class T > | |
std::vector< T > | operator- (const T &a, const std::vector< T > &v) |
template<class T > | |
std::vector< T > | operator* (const std::vector< T > &v, T a) |
template<class T > | |
std::vector< T > | operator* (T a, const std::vector< T > &v) |
template<class T > | |
std::vector< T > | operator/ (const std::vector< T > &v, T a) |
template<class T > | |
std::vector< T > | operator/ (T a, const std::vector< T > &v) |
template<class T > | |
std::vector< T > & | operator*= (std::vector< T > &v1, const std::vector< T > &v2) |
template<class T > | |
std::vector< T > & | operator/= (std::vector< T > &v1, const std::vector< T > &v2) |
template<class T > | |
std::vector< T > | randomVector (const unsigned &_size, const T &_lower, const T &_upper) |
template<class T > | |
std::vector< T > & | operator+= (std::vector< T > &_v1, const std::vector< T > &_v2) |
template<class T > | |
std::vector< T > & | operator-= (std::vector< T > &_v1, const std::vector< T > &_v2) |
template<class T > | |
std::vector< T > | operator+ (const std::vector< T > &_v1, const std::vector< T > &_v2) |
template<class T > | |
std::vector< T > | operator- (const std::vector< T > &_v1, const std::vector< T > &_v2) |
template<class T > | |
T | operator* (const std::vector< T > &_v1, const std::vector< T > &_v2) |
template<class T > | |
std::vector< T > & | operator*= (std::vector< T > &_v, const T _alpha) |
template<class T > | |
std::vector< T > & | operator/= (std::vector< T > &_v, const T _alpha) |
template<class T > | |
std::ostream & | operator<< (std::ostream &_os, const std::vector< T > &_v) |
template<class T > | |
std::istream & | operator>> (std::istream &_is, std::vector< T > &_v) |
template<class T > | |
double | euclideanDistance (const std::vector< T > &_v1, const std::vector< T > &_v2) |
template<class T > | |
T | norm (const std::vector< T > &v) |