RV libBM.h int int RV::tsize tsize size = sum of sizes add count tostr int int RV::len len len = number of individual rvs add dataind findself length RV tostr ivec ivec RV::ids ids Vector of unique IDs. add dataind equal findself id operator() subselect tostr ivec ivec RV::sizes sizes Vector of sizes. add equal operator() size subselect tostr ivec ivec RV::times times Vector of shifts from current time. add dataind equal findself operator() subselect t time tostr Array< std::string > Array<std::string> RV::names names Array of names. _names add name operator() subselect void void RV::init (ivec in_ids, Array< std::string > in_names, ivec in_sizes, ivec in_times) init ivec in_ids Array< std::string > in_names ivec in_sizes ivec in_times auxiliary function used in constructor operator() subselect RV::RV (Array< std::string > in_names, ivec in_sizes, ivec in_times) RV Array< std::string > in_names ivec in_sizes ivec in_times Full constructor. len RV::RV (Array< std::string > in_names, ivec in_sizes) RV Array< std::string > in_names ivec in_sizes Constructor with times=0. len RV::RV (Array< std::string > in_names) RV Array< std::string > in_names Constructor with sizes=1, times=0. len RV::RV () RV Constructor of empty RV. int int RV::count () const count Return number of scalars in the RV. tsize KFcondR::condition KFcondQR::condition diffbifn::diffbifn egiw::egiw linfn::eval egamma::evalpdflog egiw::evalpdflog MemDS::linkrvs egamma::lognc eEmp::mean emix::mean euni::sample egamma::sample mlnorm< sq_T >::samplecond mpdf::samplecond epdf::sampleN mlnorm< sq_T >::set_parameters mgamma::set_parameters EKFfull::set_parameters ARX::structure_est int int RV::length () const length Return length (number of entries) of the RV. len findself ivec ivec RV::findself (const RV &rv2) const findself const RV & rv2 Find indexes of self in another rv,. ivec of the same size as self. ids len length times add subt bool bool RV::equal (const RV &rv2) const equal const RV & rv2 Compare if rv2 is identical to this RV. ids sizes times emix::set_parameters bool bool RV::add (const RV &rv2) add const RV & rv2 Add (concat) another variable to the current one,. 0 if all rv2 were added, 1 if rv2 is in conflict findself ids len names sizes times tsize concat MPF< BM_T >::MPF mprod::mprod RV RV RV::subt (const RV rv2) const subt const RV rv2 Subtract another variable from the current one. findself RV RV RV::subselect (ivec ind) const subselect ivec ind Select only variables at indeces ind. ids init names sizes times RV RV RV::operator() (ivec ind) const operator() ivec ind Select only variables at indeces ind. ids init names sizes times void void RV::t (int delta) t int delta Shift time shifted by delta. times str str RV::tostr () const tostr generate str from rv, by expanding sizes ids len sizes times tsize dataind ivec ivec RV::dataind (RV crv) const dataind RV crv generate indeces into crv data vector that form data vector of self. ids str::ids len times str::times tostr Array< std::string > & Array<std::string>& RV::_names () _names access function names int int RV::id (int at) id int at access function ids int int RV::size (int at) size int at access function sizes int int RV::time (int at) time int at access function times std::string std::string RV::name (int at) name int at access function names friend std::ostream & std::ostream& operator<< (std::ostream &os, const RV &rv) operator<< std::ostream & os const RV & rv Printing output e.g. for debugging. Class representing variables, most often random variables. More?... RV_names RVadd RVcount RVdataind RVequal RVfindself RVid RVids RVinit RVlen RVlength RVname RVnames RVoperator() RVoperator<< RVRV RVRV RVRV RVRV RVsize RVsizes RVsubselect RVsubt RVt RVtime RVtimes RVtostr RVtsize