Changeset 659 for trunk/c++_tools/classifier/KernelLookup.h
- Timestamp:
- Sep 26, 2006, 3:44:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/c++_tools/classifier/KernelLookup.h
r658 r659 217 217 218 218 /// 219 /// Weighted version of element function. Using weights @a w all 220 /// identical to unity results in same as using the unweighted 221 /// version above. 219 /// Function to calculate a new Kernel element using the 220 /// underlying KernelFunction. The value is calulated between @a 221 /// vec and the data vector of the \f$ i \f$ th sample, in other 222 /// words, the sample corresponding to the \f$ i \f$ th row or 223 /// \f$ i \f$ th column. In case KernelLookup is a sub-Kernel and not 224 /// symmetric, the kernel value is calculated between @a vec and 225 /// the data vector corresponding to \f$ i \f$ th row. 222 226 /// 223 227 inline double element(const DataLookupWeighted1D& vec, const size_t i) const … … 240 244 inline bool weighted(void) const { return kernel_->weighted(); } 241 245 246 inline const Kernel* kernel(void) const { return kernel_; } 247 242 248 private: 243 249 const KernelLookup& operator=(const KernelLookup&);
Note: See TracChangeset
for help on using the changeset viewer.