Changeset 181 for bdm/stat/libBM.h
- Timestamp:
- 10/15/08 19:11:17 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/stat/libBM.h
r178 r181 19 19 using namespace itpp; 20 20 21 //! Structure of RV (used internally) 21 //! Structure of RV (used internally), i.e. expanded RVs 22 22 class str{ 23 23 public: 24 //! vector id ids (non-unique!) 24 25 ivec ids; 26 //! vector of times 25 27 ivec times; 28 //!Default constructor 26 29 str(ivec ids0, ivec times0):ids(ids0),times(times0){ 27 30 it_assert_debug(times0.length()==ids0.length(),"Incompatible input"); … … 262 265 public: 263 266 compositepdf(Array<mpdf*> A0): n(A0.length()), mpdfs(A0), rvsinrv(n), rvcsinrv(n),rvinrvcs(n){}; 267 //! find common rv, flag \param checkoverlap modifies whether overlaps are acceptable 264 268 RV getrv(bool checkoverlap=false); 269 //! common rvc of all mpdfs is written to rvc 265 270 void setrvc(const RV &rv, RV &rvc); 271 //! fill all rv*inrv* according to 266 272 void setindices(const RV &rv); 267 void setrvcinrv(const RV &rvc, Array<ivec> &rvcind);268 273 }; 269 274