Template Function swap¶ Defined in File vector_num.hpp Function Documentation¶ template<typename T, typename S>void swap(vector<T> &x, vector<T> &y, S beta)¶ interchanges two vectors, with a factor y <— x/beta and x <— -beta*y