Changeset 786
- Timestamp:
- 01/13/10 22:56:35 (15 years ago)
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/tutorial/mpdm/dist_ctrl_acc.m
r785 r786 71 71 M= arena(DS,{P1,P2},exper); 72 72 73 Y = [M.DS_y1 ; M.DS_y2;M.DS_y3];74 Yreq = [0;1;0]*ones(1,size(M.DS_y1,2));75 loss_non_coop(i) = (Y-Yreq)'*C1.Qy*(Y-Yreq) + M.DS_u1'*C1.Qu*M.DS_u1 + M.DS_u2'*C1.Qu*M.DS_u2;73 Y = [M.DS_y1 M.DS_y2 M.DS_y3]; 74 Yreq = ones(size(M.DS_y1))*[0 1 0]; 75 loss_non_coop(i) = trace((Y-Yreq)'*0.01*(Y-Yreq)) + M.DS_u1'*C1.Qu*M.DS_u1 + M.DS_u2'*C1.Qu*M.DS_u2; 76 76 if loss_non_coop(i)>100 77 77 %keyboard … … 86 86 M= arena(DS,{P1,P2},exper); 87 87 88 Y = [M.DS_y1 ; M.DS_y2;M.DS_y3];89 Yreq = [0;1;0]*ones(1,size(M.DS_y1,2));90 loss_non_coop(i) = (Y-Yreq)'*C1.Qy*(Y-Yreq) + M.DS_u1'*C1.Qu*M.DS_u1 + M.DS_u2'*C1.Qu*M.DS_u2;88 Y = [M.DS_y1 M.DS_y2 M.DS_y3]; 89 Yreq = ones(size(M.DS_y1))*[0 1 0]; 90 loss_non_coop(i) = trace((Y-Yreq)'*0.01*(Y-Yreq)) + M.DS_u1'*C1.Qu*M.DS_u1 + M.DS_u2'*C1.Qu*M.DS_u2; 91 91 if loss_coop(i)>100 92 92 %keyboard -
applications/dual/experiment/lq_test.m
r754 r786 1 1 b = 1; 2 P0 = 1;2 P0 = 5; 3 3 ytm = 0; 4 4 yr = 1; -
library/system/FindITPP.cmake
r509 r786 56 56 ELSE (ITPP_FOUND) 57 57 IF (ITPP_FIND_REQUIRED) 58 MESSAGE("LIB: ${ITPP_LIBRARY}") 59 MESSAGE("LIB DEB: ${ITPP_LIBRARY_DEBUG}") 60 MESSAGE("INC: ${ITPP_INCLUDE_DIR}") 58 61 MESSAGE(FATAL_ERROR "Could not find ITPP library, make sure ITPP_DIR is properly set") 59 62 ENDIF (ITPP_FIND_REQUIRED) -
library/system/SetBdmEnv.cmake
r693 r786 39 39 # Generally this directory should not exist! 40 40 # Use this location is you compile itpp from sources 41 IF(NOT ITPP_DIR) 41 MESSAGE("ITPPDIR $ENV{ITPP_DIR}") 42 IF($ENV{ITPP_DIR}) 43 SET(ITPP_DIR $ENV{ITPP_DIR}) 44 ELSE($ENV{ITPP_DIR}) 42 45 SET(ITPP_DIR "${BDM_SOURCE_DIR}/system/linux/") 43 ENDIF(NOT ITPP_DIR) 46 ENDIF($ENV{ITPP_DIR}) 47 MESSAGE("ITPPDIR ${ITPP_DIR}") 44 48 #This is for UNIX makefile which does only one release at a time. 45 49 ENDIF(UNIX) -
library/system/linux/configure_itpp
r618 r786 1 1 #./configure --enable-debug --enable-exceptions --enable-static --disable-comm --disable-fixed --disable-optim --disable-protocol --disable-signal --disable-srccode --without-fft --with-lapack=/usr/lib/liblapack_pic.a 2 ./configure --enable-debug --enable-static --disable-comm --disable-fixed --disable-optim --disable-protocol --disable-signal --disable-srccode --without-fft --with-lapack=/usr/lib /liblapack_pic.a2 ./configure --enable-debug --enable-static --disable-comm --disable-fixed --disable-optim --disable-protocol --disable-signal --disable-srccode --without-fft --with-lapack=/usr/lib64/liblapack_pic.a