Changeset 12 for libBM.h

Show
Ignore:
Timestamp:
01/25/08 10:53:47 (16 years ago)
Author:
smidl
Message:

opravy v libDC (stale nefunkcni)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • libBM.h

    r8 r12  
    2525*/ 
    2626class RV { 
    27         int len; 
     27        int size,len; 
    2828        ivec ids; 
    2929        ivec sizes; 
     
    4646 
    4747        //! Return length (number of scalars) of the RV. 
    48         int length(); 
     48        int count() {return size;} 
     49        //TODO why not inline and later?? 
     50         
    4951        //! Find indexes of another rv in self 
    50         ivec rvfind(RV rv2); 
     52        ivec find(RV rv2); 
    5153        //! Add (concat) another variable to the current one 
    52         RV rvadd(RV rv2); 
     54        RV add(RV rv2); 
    5355        //! Subtract  another variable from the current one 
    54         RV rvsubt(RV rv2); 
     56        RV subt(RV rv2); 
    5557        //! Select only variables at indeces ind 
    56         RV rvsubselect(ivec ind); 
     58        RV subselect(ivec ind); 
    5759        //! Select only variables at indeces ind 
    5860        RV operator()(ivec ind); 
     
    110112}; 
    111113 
     114 
     115 
    112116#endif // BM_H