Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
icl::math::LLM::Kernel Struct Reference

Internally used Kernel structure. More...

#include <LLM.h>

List of all members.

Public Member Functions

 Kernel ()
 Empty base constructor.
 Kernel (unsigned int inputDim, unsigned int outputDim)
 Default constructur with given input an output dimension.
 Kernel (const Kernel &k)
 Copy constructor (deep copy)
 ~Kernel ()
 Destructor.
Kerneloperator= (const Kernel &k)
 Assignment operator (deep copy)
void show (unsigned int idx=0) const
 shows a kernel to std::out
void set (const float *w_in, const float *w_out, const float *A)
 updates the kernels internal values

Public Attributes

float * w_in
 input weight (prototype vector) of this kernel
float * w_out
 output weight of this kernel
float * A
 matrix for the linear map
float * dw_in
 buffer for last input weight update
float * var
 variance-vector of the Gaussian kernel (trace(Cxx))
unsigned int inputDim
 input dimension
unsigned int outputDim
 output dimension

Detailed Description

Internally used Kernel structure.


Constructor & Destructor Documentation

Empty base constructor.

icl::math::LLM::Kernel::Kernel ( unsigned int  inputDim,
unsigned int  outputDim 
)

Default constructur with given input an output dimension.

Copy constructor (deep copy)

Destructor.


Member Function Documentation

Kernel& icl::math::LLM::Kernel::operator= ( const Kernel k)

Assignment operator (deep copy)

void icl::math::LLM::Kernel::set ( const float *  w_in,
const float *  w_out,
const float *  A 
)

updates the kernels internal values

the given data is copied deeply into the kernel, i.e. the kernel's internal data pointers remain untouched. Only the given data is is copied to where the data pointers point.

Parameters:
w_ininput weight vector (needs to be of size inputDim)
w_outoutput weight vector (needs to be of size outputDim)
Aslope matrix (needs to be of size inputDim * outputDim) the data layout is rowmajor
void icl::math::LLM::Kernel::show ( unsigned int  idx = 0) const

shows a kernel to std::out


Member Data Documentation

matrix for the linear map

buffer for last input weight update

input dimension

output dimension

variance-vector of the Gaussian kernel (trace(Cxx))

input weight (prototype vector) of this kernel

output weight of this kernel


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines