Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::DifferenceKernel Class Reference

returns sum_i[x1_i-x2_i] More...

#include <DifferenceKernel.h>

Inheritance diagram for PLearn::DifferenceKernel:

Inheritance graph
[legend]
Collaboration diagram for PLearn::DifferenceKernel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DifferenceKernel ()
 PLEARN_DECLARE_OBJECT (DifferenceKernel)
virtual real evaluate (const Vec &x1, const Vec &x2) const
 returns K(x1,x2)


Private Types

typedef Kernel inherited

Detailed Description

returns sum_i[x1_i-x2_i]

Definition at line 55 of file DifferenceKernel.h.


Member Typedef Documentation

typedef Kernel PLearn::DifferenceKernel::inherited [private]
 

Reimplemented from PLearn::Kernel.

Definition at line 57 of file DifferenceKernel.h.


Constructor & Destructor Documentation

PLearn::DifferenceKernel::DifferenceKernel  )  [inline]
 

Definition at line 60 of file DifferenceKernel.h.


Member Function Documentation

real PLearn::DifferenceKernel::evaluate const Vec x1,
const Vec x2
const [virtual]
 

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 51 of file DifferenceKernel.cc.

References PLearn::TVec< T >::length(), and PLearn::Vec.

PLearn::DifferenceKernel::PLEARN_DECLARE_OBJECT DifferenceKernel   ) 
 


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:23:21 2004 for PLearn by doxygen 1.3.7