Changeset 741 for library/tests
- Timestamp:
- 11/26/09 22:46:01 (15 years ago)
- Location:
- library/tests/stresssuite
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/stresssuite/merger_iter_stress.cpp
r721 r741 27 27 28 28 f1->set_parameters ( "4 3", mat ( "0.4 0.3; 0.3 0.4" ) ); 29 f1->validate(); 29 30 f2->set_parameters ( "1 3", mat ( "0.3 -0.2; -0.2 0.3" ) ); 31 f2->validate(); 30 32 f3->set_parameters ( "2", mat ( "0.4" ) ); 31 33 f3->validate(); 34 32 35 pdf_array A ( 3 ); 33 36 A ( 0 ) = f1; … … 49 52 g0.set_rv ( xy ); 50 53 g0.set_parameters ( vec ( "4 4" ), mat ( "1 0; 0 1" ) ); 51 54 g0.validate(); 55 52 56 M.set_parameters ( 5 ); 53 57 M.set_method ( LOGNORMAL, 1.2 ); 54 58 M.set_support ( g0, 400 ); 59 M.validate(); 55 60 M.merge(); 61 56 62 57 63 MixEF &MM = M._Mix(); -
library/tests/stresssuite/mixtures_stress.cpp
r722 r741 88 88 ARX M1; 89 89 M1.set_statistics ( 2, V0 - Vp, 8 ); 90 M1.validate(); 90 91 ARX M2; 91 92 M2.set_statistics ( 2, V0 + Vp, 8 ); 93 M2.validate(); 92 94 93 95 // Build mixture model … … 110 112 ARX Aflat; 111 113 Aflat.set_statistics ( 2, V0, 7 ); 114 Aflat.validate(); 112 115 MixEF RND; 113 116 RND.init ( &Aflat, Data, 10 ); // already initialized!