code: def test_logpdf2():
      z = np.array([1.0, 2.0])
      mean = np.array([1.1, 2])
      cov = np.array([[1.0, 2], [2, 5]])
  
      p = logpdf(z, mean, cov, allow_singular=False)
      p2 = log_multivariate_normal_density(z, mean, cov)
      print("p", p)
      print("p2", p2)
      print("p-p2", p - p2)
  
imports: from __future__ import division
  from math import exp
  import warnings
  import matplotlib.pyplot
  from mpl_toolkits.mplot3d import axes3d
  import numpy
  from numpy.linalg import inv
  import scipy
  from scipy.spatial.distance import mahalanobis
  from filterpy.stats import norm_cdf, multivariate_gaussian, logpdf, mahalanobis
  from scipy import linalg
label_desc: Use image node_id 9 for calling a global function with example usage: test_logpdf2() without return types