Show
Ignore:
Timestamp:
02/16/09 10:02:08 (15 years ago)
Author:
smidl
Message:

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/datalink_test.cpp

    r262 r270  
    1  
    2 #include "../bdm/stat/libBM.h" 
    3 #include "../bdm/math/libDC.h" 
    4 #include "../bdm/math/chmat.h" 
    5  
     1#include "../bdm/stat/libEF.h" 
    62using namespace bdm; 
    7  
    8 //These lines are needed for use of cout and endl 
    9 using std::cout; 
    10 using std::endl; 
    113 
    124int main() { 
     
    157        RV c = RV ( "{c }" ); 
    168 
    17         mpdf M1 ( concat ( a,b ),c ); 
    18         mpdf M2 ( a, concat ( b,c ) ); 
    19  
    20         datalink_m2m dl ( a,M2._rvc(),M1._rv(), M1._rvc() ); 
     9        datalink_m2m dl ( a,concat(b,c),concat(a,b), c ); 
    2110 
    2211        vec val ( "1 1.5 2" ); 
     
    2615        cout << "cond: " << cond  << endl; 
    2716 
    28         cout << "lo val: " << dl.get_val ( val ) <<endl; 
     17        cout << "lo val: " << dl.pushdown ( val ) <<endl; 
    2918        cout << "lo cond: " << dl.get_cond ( val,cond ) <<endl; 
    3019