#include <models.h>
Inheritance diagram for SVCIR:

Public Member Functions | |
| SVCIR (functionvector FF, double d=1.0, long PPD=200, long N1=150, long N2=150, long qq=5, long ss=6, long ll=10, long sd=-123456) | |
| Constructor of SV-CIR-process model. | |
| virtual void | setpar (matrix par) |
| Sets parameters of the model. Only used in simulations. | |
| virtual unsigned | getdim () |
| Virtual simulation function. | |
Protected Member Functions | |
| virtual void | setinitvalue () |
| virtual double | next (double oldvalue) const |
| updating in the simulation. | |
Protected Attributes | |
| double | alpha |
| double | theta |
| double | sigma |
inherits from SVMODEL
Definition at line 300 of file models.h.
|
||||||||||||||||||||||||||||||||||||||||
|
Constructor of SV-CIR-process model.
Definition at line 317 of file models.h. References PREESTMODEL::l, PREESTMODEL::N, PREESTMODEL::q, PREESTMODEL::s, MARKOVMODEL::setdelta(), and MODEL::setseed().
|
|
|
Virtual simulation function.
Implements MODEL. Definition at line 483 of file models.cpp.
00483 { return(3); }
|
|
|
Sets parameters of the model. Only used in simulations.
Reimplemented from MODEL. Definition at line 479 of file models.cpp. References MODEL::setpar().
00479 {
00480 alpha=par.get(0); theta=par.get(1); sigma=par.get(2); MODEL::setpar(par);
00481 }
|
1.3.6