Changeset 1028 for trunk/yat/utility/PCA.cc
- Timestamp:
- Feb 3, 2008, 2:53:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/PCA.cc
r1027 r1028 193 193 utility::vector A_row_sum(A_.rows()); 194 194 for (size_t i=0; i<A_row_sum.size(); ++i){ 195 const VectorConstView tmp(A_.row_const_vec(i)); 196 A_row_sum(i) = sum(tmp); 195 A_row_sum(i) = sum(A_.row_const_view(i)); 197 196 } 198 197 for( size_t i = 0; i < A_center.rows(); ++i ) {
Note: See TracChangeset
for help on using the changeset viewer.