SquareRootProcess Class Reference

#include <diffusionprocess.hpp>

Inheritance diagram for SquareRootProcess:

Inheritance graph
[legend]
List of all members.

Detailed Description

Square-root process class.

This class describes a square-root process governed by

\[ dx = a (b - x_t) dt + \sigma \sqrt{x_t} dW_t. \]


Public Member Functions

 SquareRootProcess (double b, double a, double sigma, double x0=0)
double drift (Time t, double x) const
 returns the drift part of the equation, i.e. $ \mu(t, x_t) $

double diffusion (Time t, double x) const
 returns the diffusion part of the equation, i.e. $\sigma(t, x_t)$


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

QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen