#NEWLINE# def test_mvn_pdf( self ) : #NEWLINE# #INDENT# cov3 = self . cov3 #NEWLINE# mvn3 = self . mvn3 #NEWLINE# mvn3c = self . mvn3c #NEWLINE# r_val = [ ( - 7.667977543898155 ) , ( - 6.917977543898155 ) , ( - 5.167977543898155 ) ] #NEWLINE# assert_array_almost_equal ( mvn3 . logpdf ( cov3 ) , r_val , decimal = 14 ) #NEWLINE# r_val = [ 0.000467562492721686 , 0.000989829804859273 , 0.005696077243833402 ] #NEWLINE# assert_array_almost_equal ( mvn3 . pdf ( cov3 ) , r_val , decimal = 17 ) #NEWLINE# mvn3b = MVNormal ( np . array ( [ 0 , 0 , 0 ] ) , cov3 ) #NEWLINE# r_val = [ 0.02914269740502042 , 0.02269635555984291 , 0.01767593948287269 ] #NEWLINE# assert_array_almost_equal ( mvn3b . pdf ( mvn3c ) , r_val , decimal = 16 )