#include <libBM.h>
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 (const 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 | |
Protected Attributes | |
int | size |
size = sum of sizes | |
int | len |
len = number of individual rvs | |
ivec | ids |
ivec | sizes |
ivec | times |
ivec | obs |
Array< std::string > | names |
Friends | |
std::ostream & | operator<< (std::ostream &os, const RV &rv) |
Printing output e.g. for debugging. |
More?...