Changeset 675 for library/tests
- Timestamp:
- 10/21/09 20:19:40 (15 years ago)
- Location:
- library/tests
- Files:
-
- 9 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/epdf_harness.cpp
r598 r675 71 71 mpdf_array aa ( 2 ); 72 72 aa ( 0 ) = c; 73 aa ( 1 ) = new mepdf ( m );73 aa ( 1 ) = m; 74 74 mprod mEp ( aa ); 75 75 -
library/tests/mepdf.cfg
r489 r675 3 3 class = "mpdf_harness"; 4 4 mpdf = { 5 class = "mepdf";6 epdf = {7 5 class = "enorm<ldmat>"; 8 6 mu = [ 1.1, -1.0 ]; … … 13 11 names = ( "x", "y" ); 14 12 }; 15 };16 13 }; 17 14 cond = [ 1.5, 1.7 ]; -
library/tests/merger.cfg
r562 r675 1 1 Sources = ( 2 2 { 3 class = "mepdf";4 epdf :5 {6 3 class = "enorm<ldmat>"; 7 4 mu = ( "matrix", 1, 2, [ 0.0, 2.0 ] ); … … 12 9 names = ( "a", "b" ); 13 10 }; 14 };15 11 }, 16 12 { 17 class = "mepdf";18 epdf :19 {20 13 class = "egiw"; 21 14 V = ( "matrix", 2, 2, [ 20.0, 8.0, 8.0, 4.0 ] ); … … 27 20 names = ( "a", "b" ); 28 21 }; 29 };30 22 } ); 31 23 Support : -
library/tests/merger_2d_test.cpp
r529 r675 32 32 33 33 mpdf_array A ( 2 ); 34 mepdf_ptr A1 = new mepdf ( f1 ); 35 mepdf_ptr A2 = new mepdf ( f2 ); 36 A ( 0 ) = A1; 37 A ( 1 ) = A2; 34 A ( 0 ) = f1; 35 A ( 1 ) = f2; 38 36 39 37 int Npoints = 100; -
library/tests/merger_error.cfg
r562 r675 1 1 Sources = ( 2 2 { 3 class = "mepdf";4 epdf :5 {6 3 class = "enorm<ldmat>"; 7 4 mu = ( "matrix", 1, 2, [ 0.0, 2.0 ] ); … … 12 9 names = ( "a", "b" ); 13 10 }; 14 };15 11 }, 16 12 { 17 class = "mepdf";18 epdf :19 {20 13 class = "egiw"; 21 14 V = ( "matrix", 2, 2, [ 20.0, 8.0, 8.0, 4.0 ] ); … … 27 20 names = ( "a", "b" ); 28 21 }; 29 };30 22 } ); 31 23 Support : -
library/tests/merger_iter_test.cpp
r529 r675 33 33 34 34 mpdf_array A ( 3 ); 35 A ( 0 ) = new mepdf ( f1 );36 A ( 1 ) = new mepdf ( f2 );37 A ( 2 ) = new mepdf ( f3 );35 A ( 0 ) = f1; 36 A ( 1 ) = f2; 37 A ( 2 ) = f3; 38 38 39 39 int Npoints = 100; -
library/tests/merger_test.cpp
r562 r675 22 22 23 23 mpdf_array A ( 2 ); 24 A ( 0 ) = new mepdf ( f1 );25 A ( 1 ) = new mepdf ( f2 );24 A ( 0 ) = f1; 25 A ( 1 ) = f2; 26 26 27 27 int Npoints = 100; -
library/tests/mpdf_test.cpp
r529 r675 54 54 55 55 eN->set_mu ( vec_2 ( 0.0, 0.0 ) ); 56 mepdf_ptr mEnorm = new mepdf ( eN ); 57 mComs ( 1 ) = mEnorm; 56 mComs ( 1 ) = eN; 58 57 59 58 mMix.set_parameters ( vec_2 ( 0.5, 0.5 ), mComs ); … … 87 86 88 87 eMix->set_parameters ( vec_2 ( 0.5, 0.5 ), Coms ); 89 mepdf meMix ( eMix ); 90 check_mean ( meMix, mu0, N, eMix->mean(), 0.1 ); 88 check_mean ( *eMix, mu0, N, eMix->mean(), 0.1 ); 91 89 } 92 90 -
library/tests/mprod.cfg
r531 r675 21 21 }, 22 22 { 23 class = "mepdf";24 epdf :25 {26 23 class = "egamma"; 27 24 alpha = 2.0; … … 32 29 names = ( "a" ); 33 30 }; 34 };35 31 }); 36 32 }; … … 46 42 mpdfs = ( 47 43 { 48 class = "mepdf";49 epdf :50 {51 44 class = "enorm<ldmat>"; 52 45 mu = [ 1.5, 1.7 ]; … … 58 51 sizes = [ 2 ]; 59 52 }; 60 };61 53 }, 62 54 { 63 class = "mepdf";64 epdf :65 {66 55 class = "egamma"; 67 56 alpha = [ 100000, 10000 ]; … … 72 61 sizes = [ 2 ]; 73 62 }; 74 };75 63 }); 76 64 };