RV Class Reference

Class representing variables, most often random variables. More...

#include <libBM.h>

List of all members.

Public Member Functions

 RV (ivec in_ids, Array< std::string > in_names, ivec in_sizes, ivec in_times, ivec in_obs)
 Full constructor which is called by the others.
 RV (ivec ids)
 default constructor
 RV ()
 Empty constructor will be set later.
int count () const
 Return length (number of scalars) of the RV.
ivec find (RV rv2)
 Find indexes of another rv in self.
RV add (RV rv2)
 Add (concat) another variable to the current one.
RV subt (RV rv2)
 Subtract another variable from the current one.
RV subselect (ivec ind)
 Select only variables at indeces ind.
RV operator() (ivec ind)
 Select only variables at indeces ind.
void t (int delta)
 Generate new RV with time shifted by delta.
ivec indexlist ()
 generate a list of indeces, i.e. which

Friends

std::ostream & operator<< (std::ostream &os, const RV &rv)
 Printing output e.g. for debugging.


Detailed Description

Class representing variables, most often random variables.

More?...


The documentation for this class was generated from the following files:
Generated on Mon Feb 18 21:48:45 2008 for mixpp by  doxygen 1.5.3