Show
Ignore:
Timestamp:
11/15/09 23:02:02 (15 years ago)
Author:
smidl
Message:

Big commit of LQG stuff

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/datasources.h

    r700 r723  
    163163        public: 
    164164                void step() { 
    165                         yt2rgr.step(yt); // y is now history 
     165                        yt2rgr.store_data(yt); // y is now history 
    166166                        ut2rgr.filldown ( ut,rgr ); 
    167167                        yt2rgr.filldown ( yt,rgr ); 
    168168                        yt=ipdf->samplecond ( rgr ); 
    169                         ut2rgr.step(ut); //u is now history 
     169                        ut2rgr.store_data(ut); //u is now history 
    170170                } 
    171171                void getdata ( vec &dt_out ) const { 
     
    175175                } 
    176176                void write(const vec &ut0){ut=ut0;} 
    177  
     177                void write(const vec &ut0, const ivec &ind){set_subvector(ut,ind,ut0);} 
     178                 
    178179                /*! 
    179180                \code