code: #!/usr/bin/env python3
  
  if __name__ == '__main__':
      import numpy as np
      from multinormal import MultiNormal
  
      np.random.seed(0)
      data = np.random.multivariate_normal([12, 30, 10], [[36, -30, 15], [-30, 100, -20], [15, -20, 25]], 10000).T
      mn = MultiNormal(data)
      x = np.random.multivariate_normal([12, 30, 10], [[36, -30, 15], [-30, 100, -20], [15, -20, 25]], 1).T
      print(x)
      print(mn.pdf(x))
  
apis: numpy.random.multivariate_normal numpy.random.seed