Function diffusionProcess

Return n points sampled from a diffusion process starting at X0, with covariance matrix A and constant drift omega. This path approximately integrates the stochastic differential equation dX_t = omega dt + A dW_t, where W_t is a Wiener process.