Changeset 454
- Timestamp:
- 07/30/09 16:44:27 (16 years ago)
- Location:
- library/tests
- Files:
-
- 6 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/egiw.cfg
r442 r454 4 4 epdf = { 5 5 class = "egiw"; 6 V = ( "matrix", 2, 2, [ 1 2.2, 11.0, 11.0, 10.0 ] );6 V = ( "matrix", 2, 2, [ 13.1, 11.0, 11.0, 10.0 ] ); 7 7 nu = 10; 8 8 dimx = 1.0; … … 12 12 }; 13 13 }; 14 mean = [ 1.1, 0. 02];14 mean = [ 1.1, 0.1 ]; 15 15 lognc = 11.45368; 16 variance = [ 0.0 02, 8e-05 ];16 variance = [ 0.01, 8e-05 ]; 17 17 support = ( "matrix", 2, 2, [ -2.0, 4.0, 0.01, 2.0 ] ); 18 18 nbins = [ 100, 200 ]; -
library/tests/emix_test.cpp
r394 r454 34 34 enorm<ldmat> E1; E1.set_rv ( xy ); 35 35 36 it_file iti("xxx"); 37 mat R; vec mu; 38 iti >> Name("R") >>R; 39 iti >> Name("mu") >>mu; 40 41 cout << mu << R <<endl; 42 E1.set_parameters( mu, R);//"1.00054 1.0455" , mat ( "0.740142 -0.259015; -0.259015 1.0302" )); 36 E1.set_parameters( "1.00054 1.0455" , mat ( "0.740142 -0.259015; -0.259015 1.0302" )); 43 37 enorm<ldmat> E2;E2.set_rv ( xy ); 44 38 E2.set_parameters( "-1.2 -0.1" , mat ( "1 0.4; 0.4 0.5" )); -
library/tests/enorm.cfg
r450 r454 17 17 integral = 1.0; 18 18 R = ( "matrix", 2, 2, [ 1.0, -0.5, -0.5, 2.0 ] ); 19 marginal_rv = { 20 class = "RV"; 21 names = ( "x" ); 22 }; 23 19 24 }, 20 25 { … … 33 38 variance = [ 5.0, 5.2 ]; 34 39 support = ( "matrix", 2, 2, [ -10.0, 10.0, -10.0, 10.0 ] ); 40 R = ( "matrix", 2, 2, [ 5.0, -0.05, -0.05, 5.2 ] ); 35 41 nbins = [ 200, 200 ]; 36 42 integral = 1.0; … … 51 57 lognc = 2.11768; 52 58 variance = [ 1 ]; 59 R = 1.0; 53 60 }, 54 61 { … … 66 73 mean = 7.0; 67 74 variance = [ 1 ]; 75 R = 1.0; 68 76 }, 69 77 { … … 85 93 class = "epdf_harness"; 86 94 epdf = { 87 class = "enorm< ldmat>";95 class = "enorm<chmat>"; 88 96 mu = ( "matrix", 1, 2, [ 0.0, 2.0 ] ); 89 97 R = ( "matrix", 2, 2, [ 2.0, 0.0, 0.0, 0.5 ] ); … … 96 104 mean = [ 0.0, 2.0 ]; 97 105 variance = [ 2.0, 0.5 ]; 106 R = ( "matrix", 2, 2, [ 2.0, 0.0, 0.0, 0.5 ] ); 98 107 } ); 99 108 -
library/tests/enorm_test.cpp
r450 r454 45 45 ParticularUI<enorm<fsqmat> >("enorm<fsqmat>")); 46 46 47 template<> 48 const ParticularUI<enorm<chmat> > &ParticularUI<enorm<chmat> >::factory( 49 ParticularUI<enorm<chmat> >("enorm<chmat>")); 50 47 51 TEST(test_enorm) { 48 52 RV::clear_all(); -
library/tests/mepdf.cfg
r448 r454 16 16 }; 17 17 cond = [ 1.5, 1.7 ]; 18 mean = [ 1. 0763, -0.949144];19 R = ( "matrix", 2, 2, [ 0.970164, -0.483967, -0.483967, 2.0415] );18 mean = [ 1.1, -1.0 ]; 19 R = ( "matrix", 2, 2, [ 1.0, -0.5, -0.5, 2.0 ] ); 20 20 } ); 21 21 -
library/tests/mgamma.cfg
r447 r454 19 19 cond = [ 1.5, 1.7 ]; 20 20 mean = [ 1.5, 1.7 ]; 21 R = ( "matrix", 2, 2, [ 2. 43206, -0.0487123, -0.0487123, 2.30866] );21 R = ( "matrix", 2, 2, [ 2.25, 0.0, 0.0, 2.89 ] ); 22 22 } ); 23 23