Changeset 1549
- Timestamp:
- Oct 6, 2008, 1:49:03 PM (15 years ago)
- Location:
- trunk/yat
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/KernelLookup.cc
r1487 r1549 350 350 351 351 352 double KernelLookup::operator()(size_t row, size_t column) const 352 KernelLookup::const_reference 353 KernelLookup::operator()(size_t row, size_t column) const 353 354 { 354 355 return (*kernel_)(row_index_[row],column_index_[column]); -
trunk/yat/classifier/KernelLookup.h
r1529 r1549 68 68 69 69 public: 70 /** 71 const_reference type is const double 72 73 \since New in yat 0.5 74 */ 75 typedef const double const_reference; 76 70 77 /// 'Read Only' iterator 71 78 typedef utility::StrideIterator< … … 301 308 matrix 302 309 */ 303 double operator()(size_t row, size_t column) const;310 const_reference operator()(size_t row, size_t column) const; 304 311 305 312 private: -
trunk/yat/classifier/MatrixLookup.h
r1530 r1549 72 72 { 73 73 public: 74 /** 75 value_type is double 76 77 \since New in yat 0.5 78 */ 79 typedef utility::Matrix::value_type value_type; 80 81 /** 82 const_reference type is const double& 83 84 \since New in yat 0.5 85 */ 86 typedef utility::Matrix::const_reference const_reference; 87 74 88 /// 'Read Only' iterator 75 89 typedef utility::Container2DIterator<const MatrixLookup, double, -
trunk/yat/classifier/MatrixLookupWeighted.h
r1487 r1549 26 26 27 27 #include "yat/utility/Container2DIterator.h" 28 #include "yat/utility/DataWeight.h" 28 29 #include "yat/utility/Index.h" 29 30 #include "yat/utility/IteratorPolicy.h" … … 71 72 72 73 public: 74 /** 75 value_type is DataWeight 76 77 \since New in yat 0.5 78 */ 79 typedef utility::DataWeight value_type; 80 81 /** 82 const_reference type is const DataWeight 83 84 \since New in yat 0.5 85 */ 86 typedef const utility::DataWeight const_reference; 87 73 88 /// 'Read Only' iterator 74 89 typedef utility::StrideIterator< -
trunk/yat/utility/Matrix.h
r1547 r1549 63 63 public: 64 64 /** 65 value_type is double 66 67 \since New in yat 0.5 68 */ 69 typedef double value_type; 70 71 /** 65 72 reference type is double& 66 73 -
trunk/yat/utility/MatrixWeighted.h
r1547 r1549 44 44 public: 45 45 /** 46 value_type is DataWeight 47 48 \since New in yat 0.5 49 */ 50 typedef DataWeight value_type; 51 52 /** 46 53 reference type is DataWeight& 47 54 */
Note: See TracChangeset
for help on using the changeset viewer.