Ignore:
Timestamp:
Mar 6, 2006, 3:48:01 PM (17 years ago)
Author:
Peter
Message:

inlined function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/KernelLookup.h

    r545 r546  
    66#include <c++_tools/classifier/Kernel.h>
    77#include <c++_tools/classifier/DataLookup2D.h>
     8#include <c++_tools/classifier/MatrixLookup.h>
    89#include <vector>
    910
     
    148149    /// to be deleted by the caller to avoid memory leaks.
    149150    ///
    150     const MatrixLookup* weights(void) const;
    151 
     151    inline const MatrixLookup* weights(void) const
     152    { return new MatrixLookup(kernel_->weights(),column_index_); }
    152153
    153154  private:
Note: See TracChangeset for help on using the changeset viewer.