Changeset 886 for library/tests/stresssuite/mixtures_stress.cpp
- Timestamp:
- 03/29/10 23:01:49 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/stresssuite/mixtures_stress.cpp
r766 r886 15 15 mat Var ( 2, 2 ), M ( 1, 2 ); 16 16 for ( i = 0; i < ep._rv().length() - 1; i++ ) { // -1 => last one is the weight 17 ( ( egiw* ) ep ( i ) )->mean_mat ( M, Var );17 ( ( egiw* ) ep.factor ( i ) )->mean_mat ( M, Var ); 18 18 cout << "Mean: " << M << endl << "Variance: " << endl << Var << endl; 19 19 } 20 cout << "Weights: " << ep ( i )->mean() << endl;20 cout << "Weights: " << ep.factor ( i )->mean() << endl; 21 21 } 22 22