sample_normal_multivariate Function

public function sample_normal_multivariate(dist) result(rst)

Samples a multivariate normal distribution such that , where is the lower form of the Cholesky factorization of the covariance matrix, and is a randomly generated vector that exists on the set

Arguments

Type IntentOptional Attributes Name
class(multivariate_normal_distribution), intent(in) :: dist

The multivariate normal distribution to sample.

Return Value real(kind=real64), allocatable, dimension(:)

The resulting vector.


Contents