VfiyVddlZddlZddlmZmZdZdZdZdZ dZ dZ d Z d Z dS) N)assert_assert_array_equalctjd}tt |t jt|jddS)N))r)numpymatlibemptyr isinstancenpmatrixshapexs Fc:\PYTHON\DbComparer\venv\Lib\site-packages\numpy/tests/test_matlib.py test_emptyrsI 4  A Jq") $ $%%% AGVcttjdt jgdgdgttjdt jddggdS)Nr)?rrrr)rrr onesr r rr test_onesr su|((00y///"1//"344555u|((++RY"r |-D-DEEEEErcttjdt jgdgdgttjdt jddggdS)Nr)rrrr)rrr zerosr r rrr test_zerosrsu|))&11y///"1//"344555u|))!,,bi"r .D.DEEEEErctjdt}t |t jddgddggdS)Nr)dtyperr)rr identityintrr r rs r test_identityr#sI as++Aq")aVaV$45566666rc tjddt}t |t jgdgdgdg|jjsJ|jj rJtjddtd }t |t jgd gd gd g|jjrJ|jj sJdS) Nrr)kr )rrr)rrr)rrrF)r order)rrrr)rrrr)rrrr) rr eyer"rr r flags c_contiguous f_contiguous)xcxfs rtest_eyer/s   !q  , ,Br29lll&2ll&2ll&455666 8   x$$$ $   !Qc  5 5Br29&6&6&6&6&6&6&6&6&6&899:::x$$$ $ 8     rcttjd}t|jdkdSNrr)rr randrndimrs r test_randr4,s1 !A AFaKrcttjd}t|jdkdSr1)r r randnrr3rs r test_randnr71s/ A AFaKrctjd}tj|dd}tjgdgdg}t ||dS)Nr&r)rrrrrrrr)r arangerr repmatarrayr)a1rys r test_repmatr>6sf 1B B1%%A ******, - -Aq!r)rr numpy.matlib numpy.testingrrrrrr#r/r4r7r>rrrrAs55555555 FFFFFF777 ! ! !  r