#include <QuadraticProgram.h>

Public Member Functions | |
| KernelMatrix (KernelFunction *kernelfunction, const Array< double > &data) | |
| Constructor. | |
| ~KernelMatrix () | |
| Destructor. | |
| float | Entry (unsigned int i, unsigned int j) |
| overriden virtual function, see QPMatrix | |
| void | FlipColumnsAndRows (unsigned int i, unsigned int j) |
| overriden virtual function, see QPMatrix | |
Protected Attributes | |
| KernelFunction * | kernel |
| Kernel function defining the kernel Gram matrix. | |
| Array< ArrayReference< double > * > | x |
| Array of data vectors for kernel evaluations. | |
Definition at line 135 of file QuadraticProgram.h.
| KernelMatrix::KernelMatrix | ( | KernelFunction * | kernelfunction, | |
| const Array< double > & | data | |||
| ) |
Constructor.
| kernelfunction | kernel function defining the Gram matrix | |
| data | data to evaluate the kernel function |
Definition at line 87 of file QuadraticProgram.cpp.
References i, QPMatrix::matrixsize, and x.
| KernelMatrix::~KernelMatrix | ( | ) |
Destructor.
Definition at line 100 of file QuadraticProgram.cpp.
References i, QPMatrix::matrixsize, and x.
| float KernelMatrix::Entry | ( | unsigned int | i, | |
| unsigned int | j | |||
| ) | [virtual] |
overriden virtual function, see QPMatrix
Implements QPMatrix.
Reimplemented in RegularizedKernelMatrix.
Definition at line 110 of file QuadraticProgram.cpp.
References KernelFunction::eval(), kernel, and x.
Referenced by RegularizedKernelMatrix::Entry().
| void KernelMatrix::FlipColumnsAndRows | ( | unsigned int | i, | |
| unsigned int | j | |||
| ) | [virtual] |
overriden virtual function, see QPMatrix
Implements QPMatrix.
Reimplemented in RegularizedKernelMatrix.
Definition at line 115 of file QuadraticProgram.cpp.
KernelFunction* KernelMatrix::kernel [protected] |
Kernel function defining the kernel Gram matrix.
Definition at line 155 of file QuadraticProgram.h.
Referenced by Entry().
Array<ArrayReference<double>* > KernelMatrix::x [protected] |
Array of data vectors for kernel evaluations.
Definition at line 158 of file QuadraticProgram.h.
Referenced by Entry(), FlipColumnsAndRows(), KernelMatrix(), and ~KernelMatrix().