?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Ñò \ÐKc @s–dZdZdZdZdZddkZddkZddklZl Z ddk i i Z ddk TddkiiZdd k lZlZlZlZlZlZlZlZed d d „Zd ed„Zdd„Zd„Zdd„Zdd„ZeZ dded„Z!e!Z"deded„Z#ded„Z$ded„Z%d ded„Z&d ded„Z'ded„Z(dd„Z)dS(sËMiscellaneous functions for testing masked arrays and subclasses :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: testutils.py 3529 2007-11-13 08:01:14Z jarrod.millman $ s5Pierre GF Gerard-Marchant ($Author: jarrod.millman $)s1.0s$Revision: 3529 $s5$Date: 2007-11-13 10:01:14 +0200 (Tue, 13 Nov 2007) $iÿÿÿÿN(tndarraytfloat_(t*(tmask_ortgetmaskt masked_arraytnomasktmaskedtfilledtequaltlessgñh㈵øä>g:Œ0âŽyE>c Csþtt|ƒt|ƒƒ}t|ƒ}t|ƒ}|iidjp|iidjoti||ƒiƒStt|dt d|ƒ|ƒi t ƒ}tt|dt d|ƒdƒi t ƒ} ti t i|| ƒ||t i| ƒƒ} | iƒS(ssReturns true if all components of a and b are equal subject to given tolerances. If fill_value is True, masked values considered equal. Otherwise, masked values are considered unequal. The relative error rtol should be positive and << 1.0 The absolute error atol comes into play for those elements of b that are very small or zero; it says how small a must be also. tOtcopytmaski(RRRtdtypetchartnpR travelRtFalsetastypeRt less_equaltumathtabsolute( tatbt fill_valuetrtoltatoltmtd1td2txtytd((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytapproxs   &**0ic Csøtt|ƒt|ƒƒ}t|ƒ}t|ƒ}|iidjp|iidjoti||ƒiƒStt|dt d|ƒ|ƒi t ƒ}tt|dt d|ƒdƒi t ƒ}ti ti ||ƒ|ƒd| j} | iƒS(s¤Returns True if a and b are equal up to decimal places. If fill_value is True, masked values considered equal. Otherwise, masked values are considered unequal. R R R ig$@(RRRRRRR RRRRRtaroundtabs( RRtdecimalRRRRRR R!((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytalmost-s  &***tcCs_tt|ƒt|ƒ|ƒx<tt|ƒƒD](}t||||d||fƒq/WdS(s0Asserts the equality of two non-array sequences.s item=%r %sN(t assert_equaltlentrange(tactualtdesiredterr_msgtk((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyt_assert_equal_on_sequences>s &cCs–t|i|iƒx||iiD]n}ti||ƒti||ƒ}}|tj o6|tj o)tti||ƒti||ƒƒq q WdS(s9Asserts that two records are equal. Pretty crude for now.N(R(RtnamestoperatortgetitemR(RRtftaftbf((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytassert_equal_recordsEs %-c CsXt|tƒo³t|tƒpttt|ƒƒƒ‚ntt|ƒt|ƒ|ƒxc|iƒD]U\}}||jotd||fƒ‚nt||||d||fƒqeWdSt|tt fƒo*t|tt fƒot ||ddƒSt|t ƒp t|t ƒp7t ||g|ƒ}||jpt|ƒ‚ndS|t jo |t j p|t jo>|t j o1t ||g|dddd ƒ}t|ƒ‚nti|d td tƒ}ti|d td tƒ}|i|i}}|id jo0|id jo t |iƒ|iƒddƒSt|||ƒS(s&Asserts that two items are equal. s %s not in %ss key=%r %sNR-R'theaderR0RR R tsuboktS(RR (t isinstancetdicttAssertionErrortreprttypeR(R)titemstlistttupleR/Rt build_err_msgRt ValueErrorRtarrayRtTrueRRttolisttassert_array_equal(R+R,R-R.titmsgt actual_dtypet desired_dtype((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyR(Os<  &,       c Cs¸t|tƒo¯t|tƒpttt|ƒƒƒ‚ntt|ƒt|ƒ|ƒx_|iƒD]Q\}}||jott|ƒƒ‚nt||||d||fƒqeWdSt|tt fƒovt|tt fƒo`tt|ƒt|ƒ|ƒx<t t|ƒƒD](}t||||d||fƒqWdSt|t i ƒpt|t i ƒot |||ƒSt||g|ƒ}||jpt|ƒ‚ndS(s6Raises an assertion error if two items are equal. s key=%r %sNs item=%r %s(R:R;R<R=R>t fail_if_equalR)R?R@RAR*RRtfail_if_array_equalRB(R+R,R-R.RHRI((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyRL|s*  &,&& ic Cs˜t|tiƒpt|tiƒo t||d|d|d|ƒSt||gd|d|ƒ}tt||ƒ|ƒdjpt|ƒ‚ndS(svAsserts that two items are almost equal. The test is equivalent to abs(desired-actual) < 0.5 * 10**(-decimal) R%R-tverboseiN(R:RRtassert_array_almost_equalRBtroundR$R<(R+R,R%R-RNRI((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytassert_almost_equal•s& c Cstt|ƒt|ƒƒ}t|dtd|dtdtƒ}t|dtd|dtdtƒ}|tjo |tj p|tjoG|tj o:t||gd|d|d|dd ƒ}t|ƒ‚nti||i |ƒ|i |ƒd|d|d|ƒS( sZAsserts that a comparison relation between two masked arrays is satisfied elementwise.R R t keep_maskR8R-RNR7R0RR (RR ( RRRRRRBRCtutilstassert_array_compareR( t comparisonRR R-RNR7RRRI((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyRT¥s$$  c Cs)tti||d|d|ddƒdS(s5Checks the elementwise equality of two masked arrays.R-RNR7sArrays are not equalN(RTR1t__eq__(RR R-RN((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyRG½s c Cs/d„}t|||d|d|ddƒdS(sKRaises an assertion error if two masked arrays are not equal (elementwise).cSstit||ƒƒ S(N(RtalltrueR"(RR ((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytcompareÆsR-RNR7sArrays are not equalN(RT(RR R-RNRX((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyRMÄs c s5‡fd†}t|||d|d|ddƒdS(s[Checks the elementwise equality of two masked arrays, up to a given number of decimals.cst||ddˆ ƒS(s<Returns the result of the loose comparison between x and y).Rg$@(R"(RR (R%(s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyRXÏsR-RNR7sArrays are not almost equalN(RT(RR R%R-RNRX((R%s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytassert_array_approx_equalÌsc s5‡fd†}t|||d|d|ddƒdS(s[Checks the elementwise equality of two masked arrays, up to a given number of decimals.cst||ˆƒS(s<Returns the result of the loose comparison between x and y).(R&(RR (R%(s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyRXÙsR-RNR7sArrays are not almost equalN(RT(RR R%R-RNRX((R%s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyROÖsc Cs)tti||d|d|ddƒdS(s,Checks that x is smaller than y elementwise.R-RNR7sArrays are not less-orderedN(RTR1t__lt__(RR R-RN((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytassert_array_lessàs cCsa|tjo|tjpt‚n|tjo|tjpt‚nt||d|ƒdS(s"Asserts the equality of two masks.R-N(RR<RG(tm1tm2R-((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pytassert_mask_equalçs   (*t__doc__t __author__t __version__t __revision__t__date__R1tnumpyRRRtnumpy.core.umathtcoreRt numpy.testingtnumpy.testing.utilsttestingRSRRRRRRR R RER"R&R/R6R(RLtassert_not_equalRQt assert_closeRTRGRMRYROR[R^(((s8/usr/lib64/python2.6/site-packages/numpy/ma/testutils.pyts8   :  -