def test_kmr_matrix():
 print ((__name__ + '.') + test_kmr_matrix.__name__)
 matrices = Matrices()
 for matrix_dict in matrices.kmr_matrix_dicts:
  x = gth_solve(matrix_dict['A'])
  (yield (StationaryDistSumOne(), x))
  (yield (StationaryDistNonnegative(), x))
  (yield (StationaryDistLeftEigenVec(), matrix_dict['A'], x))

def test_kmr_matrix ( ) : print ( ( __name__ + '.' ) + test_kmr_matrix . __name__ ) matrices = Matrices ( ) for matrix_dict in matrices . kmr_matrix_dicts : x = gth_solve ( matrix_dict [ 'A' ] ) ( yield ( StationaryDistSumOne ( ) , x ) ) ( yield ( StationaryDistNonnegative ( ) , x ) ) ( yield ( StationaryDistLeftEigenVec ( ) , matrix_dict [ 'A' ] , x ) )
test with kmr matrices .