int main(int, char*[])
{
using DensityFunctionType =
DensityFunctionType::Pointer densityFunction = DensityFunctionType::New();
densityFunction->SetMeasurementVectorSize( 2 );
DensityFunctionType::MeanVectorType mean( 2 );
mean.Fill( 0.0 );
DensityFunctionType::CovarianceMatrixType cov;
cov.SetSize( 2, 2 );
cov.SetIdentity();
cov *= 4;
densityFunction->SetMean( mean );
densityFunction->SetCovariance( cov );
MeasurementVectorType mv;
mv.Fill( 0 );
std::cout << densityFunction->Evaluate( mv ) << std::endl;
return EXIT_SUCCESS;
}