Changeset 134
- Timestamp:
- 07/07/08 19:45:52 (17 years ago)
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r132 r134 59 59 # the project's entire directory structure. 60 60 add_subdirectory (bdm) 61 #add_subdirectory (tests)61 add_subdirectory (tests) 62 62 add_subdirectory (pmsm) -
bdm/estim/arx.h
r115 r134 51 51 //! Full constructor 52 52 ARX (RV &rv, mat &V0, double &nu0, double frg0=1.0) : BM(rv),est(rv,V0,nu0), V(est._V()), nu(est._nu()), frg(frg0){last_lognc=est.lognc();tll=0.0;}; 53 void set_parameters(mat &V0, double &nu0){est._V()=V0;est._nu()=nu0;last_lognc=est.lognc();tll=0.0;} 54 void get_parameters(mat &V0, double &nu0){V0=est._V().to_mat(); nu0=est._nu();} 53 55 //! Here \f$dt = [y_t psi_t] \f$. 54 56 void bayes ( const vec &dt ); -
tests/CMakeLists.txt
r132 r134 36 36 target_link_libraries (struct_test itpp) 37 37 38 add_executable (linefit2_c linefit2_c.cpp) 39 target_link_libraries (linefit2_c ${BdmLibs}) 40 38 41 add_executable (test0 test0.cpp) 39 42 add_executable (testKF testKF.cpp) … … 44 47 add_executable (testKF_QR testKF_QR.cpp) 45 48 add_executable (testKF_QRexh testKF_QRexh.cpp) 46 add_executable (testUI testUI.cpp)49 #add_executable (testUI testUI.cpp) 47 50 48 51 … … 56 59 target_link_libraries (testKF_QR ${BdmLibs}) 57 60 target_link_libraries (testKF_QRexh ${BdmLibs}) 58 target_link_libraries (testUI ${BdmLibs} ${XERCES_LIBRARIES})61 #target_link_libraries (testUI ${BdmLibs} ${XERCES_LIBRARIES}) 59 62 60 63 61 64 # experimental lines building an XSD's hello example 62 65 63 add_executable (test_xsd_hello test_xsd_hello.cxx hello-pskel.hxx hello-pskel.cxx) 64 target_link_libraries (test_xsd_hello ${BdmLibs} ${XERCES_LIBRARIES} ) 65 SET(XSD_ARGS "cxx-parser") 66 ADD_CUSTOM_COMMAND( 67 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.hxx ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.cxx 68 COMMAND ${XSD_EXECUTABLE} 69 ARGS ${XSD_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd 70 MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd 71 ) 66 # add_executable (test_xsd_hello test_xsd_hello.cxx hello-pskel.hxx hello-pskel.cxx) 67 # target_link_libraries (test_xsd_hello ${BdmLibs} ${XERCES_LIBRARIES} ) 68 # SET(XSD_ARGS "cxx-parser") 69 # ADD_CUSTOM_COMMAND( 70 # OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.hxx ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.cxx 71 # COMMAND ${XSD_EXECUTABLE} 72 # ARGS ${XSD_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd 73 # MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd 74 # ) 75 # 72 76 73