Ignore:
Timestamp:
Sep 26, 2006, 3:44:24 PM (16 years ago)
Author:
Peter
Message:

fixes #147 and #136

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/KernelLookup.h

    r658 r659  
    217217
    218218    ///
    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.
    222226    ///
    223227    inline double element(const DataLookupWeighted1D& vec, const size_t i) const
     
    240244    inline bool weighted(void) const { return kernel_->weighted(); }
    241245
     246    inline const Kernel* kernel(void) const { return kernel_; }
     247   
    242248  private:
    243249    const KernelLookup& operator=(const KernelLookup&);
Note: See TracChangeset for help on using the changeset viewer.