HOLDER_PAC
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Modules
include
kernel.hpp
1
#ifndef KERNEL_HPP
2
#define KERNEL_HPP
3
4
#include "Eigen/Dense"
5
6
class
kernelMatrix
{
7
8
public
:
9
10
kernelMatrix
();
11
kernelMatrix
(
int
input_NumRows,
int
input_NumCols,
double
(*input_Kernel)(
int
i,
int
j,
void
* kernelData),
void
* input_KernelData);
12
~
kernelMatrix
();
13
Eigen::MatrixXd block(
const
int
min_i,
const
int
min_j,
const
int
numRows,
const
int
numCols)
const
;
14
Eigen::MatrixXd operator*(
const
Eigen::MatrixXd & X)
const
;
15
double
operator()(
const
int
nRow,
const
int
nCol)
const
;
16
int
rows()
const
;
17
int
cols()
const
;
18
19
20
21
22
23
private
:
24
int
numRows;
25
int
numCols;
26
void
* kernelData;
27
double (*kernel)(
int
i,
int
j ,
void
* kernelData);
28
29
30
31
32
33
};
34
35
#endif
kernelMatrix
Definition:
kernel.hpp:6
Generated on Fri Nov 28 2014 23:14:21 for HOLDER_PAC by
1.8.8