#include #include "../bdm/stat/libBM.h" #include "../bdm/math/libDC.h" #include "../bdm/math/chmat.h" using namespace bdm; //These lines are needed for use of cout and endl using std::cout; using std::endl; int main() { RV a = RV ( "{a }","2" ); RV b = RV ( "{b }" ); RV c = RV ( "{c }" ); mpdf M1 ( concat ( a,b ),c ); mpdf M2 ( a, concat ( b,c ) ); datalink_m2m dl ( a,M2._rvc(),M1._rv(), M1._rvc() ); vec val ( "1 1.5 2" ); vec cond ( "3" ); cout << "val: " << val << endl; cout << "cond: " << cond << endl; cout << "lo val: " << dl.get_val ( val ) <