*** empty log message ***

This commit is contained in:
jiri
2008-03-03 15:35:37 +00:00
parent 5f84d14ce2
commit 687224f7e9
7 changed files with 129 additions and 1 deletions

1
vec.h
View File

@@ -72,6 +72,7 @@ public:
NRVec & operator=(const NRVec &rhs);
NRVec & operator=(const T &a); //assign a to every element
void clear() {LA_traits<T>::clear(v,nn);}; //zero out
void randomize(const T &x);
NRVec & operator|=(const NRVec &rhs);
const bool operator!=(const NRVec &rhs) const {if(nn!=rhs.nn) return 1; return LA_traits<T>::gencmp(v,rhs.v,nn);} //memcmp for scalars else elementwise
const bool operator==(const NRVec &rhs) const {return !(*this != rhs);};