
Definition at line 21 of file WienerProcess.hpp.
Public Member Functions | |
| WienerProcess () | |
| Default constructor. | |
| WienerProcess (unsigned int N) | |
| Construct Wiener process of given dimensionality. | |
| virtual | ~WienerProcess () |
| Destructor. | |
| virtual void | setDimensions (const unsigned int N, const bool preserve=false) |
| Set the dimensionality of the process. | |
| virtual const vector & | getDrift () const |
| Get the drift of the process. | |
| virtual const symmetric_matrix & | getDiffusion () const |
| Get the diffusion of the process. | |
| virtual const vector & | getDrift () |
| Get the drift of the process. | |
| virtual const symmetric_matrix & | getDiffusion () |
| Get the diffusion of the process. | |
| virtual vector | getExpectation (const T delta) |
| Get the expected value of the process after a given time. | |
| virtual symmetric_matrix | getCovariance (const T delta) |
| Get the covariance of the process after a given time. | |
| virtual vector | getExpectation (const T delta) const |
| Get the expected value of the process after a given time has elapsed. | |
| virtual symmetric_matrix | getCovariance (const T delta) const |
| Get the covariance of the process after a given time has elapsed. | |
| virtual vector | sample (const T delta) |
| Sample from the process after a given time has elapsed. | |
| virtual double | densityAt (const T delta, const vector &x) |
| Calculate the density of the distribution at a given point after a given time has elapsed:. | |
| WienerProcess | ( | ) | [inline] |
Default constructor.
Initialises the Wiener process with zero dimensions. This should generally only be used when the object is to be restored from a serialization.
Definition at line 176 of file WienerProcess.hpp.
| WienerProcess | ( | unsigned int | N | ) | [inline] |
Construct Wiener process of given dimensionality.
| N | ; number of dimensions in the process. |
Definition at line 181 of file WienerProcess.hpp.
| ~WienerProcess | ( | ) | [inline, virtual] |
| void setDimensions | ( | const unsigned int | N, | |
| const bool | preserve = false | |||
| ) | [inline, virtual] |
Set the dimensionality of the process.
| N | Dimensionality of the process. | |
| preserve | True to preserve the current sufficient statistics of the process in the lower dimensional space, false if these may be discarded. |
Implements StochasticProcess.
Definition at line 193 of file WienerProcess.hpp.
| const vector & getDrift | ( | ) | const [inline, virtual] |
Get the drift of the process.
Definition at line 231 of file WienerProcess.hpp.
| const symmetric_matrix & getDiffusion | ( | ) | const [inline, virtual] |
Get the diffusion of the process.
Definition at line 236 of file WienerProcess.hpp.
| const vector & getDrift | ( | ) | [inline, virtual] |
Get the drift of the process.
Implements StochasticProcess.
Definition at line 221 of file WienerProcess.hpp.
| const symmetric_matrix & getDiffusion | ( | ) | [inline, virtual] |
Get the diffusion of the process.
Implements StochasticProcess.
Definition at line 226 of file WienerProcess.hpp.
| vector getExpectation | ( | const T | delta | ) | [inline, virtual] |
Get the expected value of the process after a given time.
| delta | ; time step. |
; expected value of the process after time
. Implements StochasticProcess.
Definition at line 211 of file WienerProcess.hpp.
| symmetric_matrix getCovariance | ( | const T | delta | ) | [inline, virtual] |
Get the covariance of the process after a given time.
| delta | ; time step. |
; covariance of the process after time
. Implements StochasticProcess.
Definition at line 216 of file WienerProcess.hpp.
| vector getExpectation | ( | const T | delta | ) | const [inline, virtual] |
Get the expected value of the process after a given time has elapsed.
| delta | ; elapsed time. |
; expected value of the process after time
. Definition at line 201 of file WienerProcess.hpp.
| symmetric_matrix getCovariance | ( | const T | delta | ) | const [inline, virtual] |
Get the covariance of the process after a given time has elapsed.
| delta | ; elapsed time. |
; covariance of the process after time
. Definition at line 206 of file WienerProcess.hpp.
| vector sample | ( | const T | delta | ) | [inline, virtual] |
Sample from the process after a given time has elapsed.
| delta | ; elapsed time. |
be a vector of
independent normal variates with mean zero and variance
.
, where
is the Cholesky decomposition of the diffusion.
Implements StochasticProcess.
Definition at line 241 of file WienerProcess.hpp.
| double densityAt | ( | const T | delta, | |
| const vector & | x | |||
| ) | [inline, virtual] |
Calculate the density of the distribution at a given point after a given time has elapsed:.
| delta | ; elapsed time. | |
| x | ; the point at which to calculate the density. |
after time
. Implements StochasticProcess.
Definition at line 253 of file WienerProcess.hpp.
1.5.3