Multivariate Point Process Package  0.1
Public Member Functions | List of all members
SineKernel Class Reference

The Sine triggering kernel. More...

#include "include/SineKernel.h"

Inheritance diagram for SineKernel:
TriggeringKernel

Public Member Functions

virtual double operator() (double t)
 
virtual double Integral (double from, double to)
 
virtual double Upper (double from, double duration)
 

Detailed Description

The Sine triggering kernel.

The Sine triggering kernel is defined as: \(\gamma(t,t_i) = \sin(t - t_i - 2\pi\lfloor\frac{t - t_i}{2\pi}\rfloor) + 1\).

Definition at line 17 of file SineKernel.h.

Member Function Documentation

double SineKernel::Integral ( double  from,
double  to 
)
virtual

Integral of the triggering kernel.

Parameters
[in]fromstart time of the integral.
[in]toend time of the integral.
Returns
the value of the integral.

Implements TriggeringKernel.

Definition at line 19 of file SineKernel.cc.

double SineKernel::operator() ( double  t)
virtual

Get the value of the triggering kernel at time \(t\).

Parameters
[in]ta given time
Returns
the triggering kernel value at time \(t\).

Implements TriggeringKernel.

Definition at line 10 of file SineKernel.cc.

double SineKernel::Upper ( double  from,
double  duration 
)
virtual

Upper bound of the triggering kernel in a given interval.

Parameters
fromstart time of the interval.
durationlength of the interval.
Returns
upper bound of the triggering kernel in the given interval.

Implements TriggeringKernel.

Definition at line 26 of file SineKernel.cc.


The documentation for this class was generated from the following files: