Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > > > site-packages > numpy > matrixlib > tests
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 0 bytes | April 17 2025 13:10:58. | |
test_defmatrix.py | File | 14982 bytes | April 17 2025 13:10:58. | |
test_interaction.py | File | 11875 bytes | April 17 2025 13:10:58. | |
test_masked_matrix.py | File | 8932 bytes | April 17 2025 13:10:58. | |
test_matrix_linalg.py | File | 2059 bytes | April 17 2025 13:10:58. | |
test_multiarray.py | File | 554 bytes | April 17 2025 13:10:58. | |
test_numeric.py | File | 441 bytes | April 17 2025 13:10:58. | |
test_regression.py | File | 927 bytes | April 17 2025 13:10:58. |
import numpy as np from numpy.testing import assert_, assert_equal, assert_raises class TestRegression: def test_kron_matrix(self): # Ticket #71 x = np.matrix('[1 0; 1 0]') assert_equal(type(np.kron(x, x)), type(x)) def test_matrix_properties(self): # Ticket #125 a = np.matrix([1.0], dtype=float) assert_(type(a.real) is np.matrix) assert_(type(a.imag) is np.matrix) c, d = np.matrix([0.0]).nonzero() assert_(type(c) is np.ndarray) assert_(type(d) is np.ndarray) def test_matrix_multiply_by_1d_vector(self): # Ticket #473 def mul(): np.mat(np.eye(2))*np.ones(2) assert_raises(ValueError, mul) def test_matrix_std_argmax(self): # Ticket #83 x = np.asmatrix(np.random.uniform(0, 1, (3, 3))) assert_equal(x.std().shape, ()) assert_equal(x.argmax().shape, ())
SILENT KILLER Tool