Changeset 1200
- Timestamp:
- 09/29/10 11:22:24 (14 years ago)
- Location:
- library/bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/itpp_ext.cpp
r1064 r1200 120 120 temp.set_size ( j, true ); 121 121 return temp; 122 } 123 124 vec get_from_ivec ( const ivec &v ) { 125 vec temp ( v.size() ); 126 for ( int i = 0; i < v.size(); ++i ) 127 temp(i)=v(i); 128 return temp; 122 129 } 123 130 -
library/bdm/itpp_ext.h
r1064 r1200 34 34 35 35 ivec get_from_bvec ( const ivec &v, const bvec &binlist ); 36 37 vec get_from_ivec ( const ivec &v); 36 38 37 39 // template<class Num_T>