Changeset 546
- Timestamp:
- Mar 6, 2006, 3:48:01 PM (17 years ago)
- Location:
- trunk/lib/classifier
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/classifier/KernelLookup.cc
r545 r546 71 71 } 72 72 73 const MatrixLookup* KernelLookup::weights(void) const74 { return new MatrixLookup(kernel_->weights(),column_index_); }75 73 76 74 const KernelLookup* -
trunk/lib/classifier/KernelLookup.h
r545 r546 6 6 #include <c++_tools/classifier/Kernel.h> 7 7 #include <c++_tools/classifier/DataLookup2D.h> 8 #include <c++_tools/classifier/MatrixLookup.h> 8 9 #include <vector> 9 10 … … 148 149 /// to be deleted by the caller to avoid memory leaks. 149 150 /// 150 const MatrixLookup* weights(void) const;151 151 inline const MatrixLookup* weights(void) const 152 { return new MatrixLookup(kernel_->weights(),column_index_); } 152 153 153 154 private:
Note: See TracChangeset
for help on using the changeset viewer.