This header will be deprecated as soon as the lattice library has been changed to ublas.
template <class T> std::vector<T> operator-(const std::vector<T>& x); template <class T> std::vector<T> operator+(const std::vector<T>& x, const std::vector<T>& y); template <class T> std::vector<T> operator-(const std::vector<T>& x, const std::vector<T>& y); templatestd::vector<T> operator*(S x, const std::vector<T>& y); template std::vector<T> operator*(const std::vector<T>& x, S y);
returns a vector with all elements negated.template <class T> std::vector<T> operator-(const std::vector<T>& x);
returns the element wise sum or difference of two vectors. The size of the resulting vector is the maximum of the size of the two arguments. If one argument vector is shorter it will be assumed to be padded with the default value (usually 0) up to the length of the other vector.template <class T> std::vector<T> operator+(const std::vector<T>& x, const std::vector<T>& y); template <class T> std::vector<T> operator-(const std::vector<T>& x, const std::vector<T>& y);
returns a vector element wise multiplied with a scalar.templatestd::vector<T> operator*(S x, const std::vector<T>& y); template std::vector<T> operator*(const std::vector<T>& x, S y);
copyright (c) 1994-2010 by Matthias Troyer
Distributed under the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt)