bg<ddlZddlmZmZmZGddZdS)N)assert_ assert_equal assert_raisesc&eZdZdZdZdZdZdS)TestRegressionctjd}tttj||t|dS)Nz [1 0; 1 0])npmatrixrtypekronselfxs x/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib64/python3.11/site-packages/numpy/matrixlib/tests/test_regression.pytest_kron_matrixzTestRegression.test_kron_matrixs? Il # #T"'!Q--(($q''22222ctjdgt}tt |jtjutt |jtjutjdg\}}tt |tjutt |tjudS)Ng?)dtypeg) r r floatrr realimagnonzerondarray)racds rtest_matrix_propertiesz%TestRegression.test_matrix_properties s Ise5 ) ) )QV  )***QV  )***y#''))1Q2:%&&&Q2:%&&&&&rc6d}tt|dS)Nc|tjtjdtjdzdS)N)r mateyeonesrrmulz=TestRegression.test_matrix_multiply_by_1d_vector..muls- F26!99  bgajj ( ( ( (r)r ValueError)rr%s r!test_matrix_multiply_by_1d_vectorz0TestRegression.test_matrix_multiply_by_1d_vectors) ) ) ) j#&&&&&rctjtjddd}t |jdt |jddS)Nr)r*r$)r asmatrixrandomuniformrstdshapeargmaxr s rtest_matrix_std_argmaxz%TestRegression.test_matrix_std_argmaxs` K ))!Q77 8 8QUUWW]B'''QXXZZ%r*****rN)__name__ __module__ __qualname__rrr'r1r$rrrrsP333 ''''''+++++rr)numpyr numpy.testingrrrrr$rrr7sa>>>>>>>>>>++++++++++r