SILENT KILLERPanel

Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > > site-packages > numpy > typing > tests > data > > pass >


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 ]

Files and Folders in: //opt/cloudlinux/venv/lib64/python3.11//site-packages/numpy/typing/tests/data//pass/

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
arithmetic.py File 7455 bytes April 17 2025 13:10:58.
array_constructors.py File 2419 bytes April 17 2025 13:10:58.
array_like.py File 916 bytes April 17 2025 13:10:58.
arrayprint.py File 766 bytes April 17 2025 13:10:58.
arrayterator.py File 393 bytes April 17 2025 13:10:58.
bitwise_ops.py File 970 bytes April 17 2025 13:10:58.
comparisons.py File 2992 bytes April 17 2025 13:10:58.
dtype.py File 1069 bytes April 17 2025 13:10:58.
einsumfunc.py File 1370 bytes April 17 2025 13:10:58.
flatiter.py File 174 bytes April 17 2025 13:10:58.
fromnumeric.py File 3742 bytes April 17 2025 13:10:58.
index_tricks.py File 1492 bytes April 17 2025 13:10:58.
lib_utils.py File 420 bytes April 17 2025 13:10:58.
lib_version.py File 299 bytes April 17 2025 13:10:58.
literal.py File 1331 bytes April 17 2025 13:10:58.
mod.py File 1578 bytes April 17 2025 13:10:58.
modules.py File 595 bytes April 17 2025 13:10:58.
multiarray.py File 1331 bytes April 17 2025 13:10:58.
ndarray_conversion.py File 1626 bytes April 17 2025 13:10:58.
ndarray_misc.py File 2715 bytes April 17 2025 13:10:58.
ndarray_shape_manipulation.py File 640 bytes April 17 2025 13:10:58.
numeric.py File 1490 bytes April 17 2025 13:10:58.
numerictypes.py File 750 bytes April 17 2025 13:10:58.
random.py File 61881 bytes April 17 2025 13:10:58.
scalars.py File 3479 bytes April 17 2025 13:10:58.
simple.py File 2676 bytes April 17 2025 13:10:58.
simple_py3.py File 96 bytes April 17 2025 13:10:58.
ufunc_config.py File 1120 bytes April 17 2025 13:10:58.
ufunclike.py File 1039 bytes April 17 2025 13:10:58.
ufuncs.py File 462 bytes April 17 2025 13:10:58.
warnings_and_errors.py File 150 bytes April 17 2025 13:10:58.

Reading File: //opt/cloudlinux/venv/lib64/python3.11//site-packages/numpy/typing/tests/data//pass//numeric.py

"""
Tests for :mod:`numpy.core.numeric`.

Does not include tests which fall under ``array_constructors``.

"""

from __future__ import annotations

import numpy as np

class SubClass(np.ndarray):
    ...

i8 = np.int64(1)

A = np.arange(27).reshape(3, 3, 3)
B: list[list[list[int]]] = A.tolist()
C = np.empty((27, 27)).view(SubClass)

np.count_nonzero(i8)
np.count_nonzero(A)
np.count_nonzero(B)
np.count_nonzero(A, keepdims=True)
np.count_nonzero(A, axis=0)

np.isfortran(i8)
np.isfortran(A)

np.argwhere(i8)
np.argwhere(A)

np.flatnonzero(i8)
np.flatnonzero(A)

np.correlate(B[0][0], A.ravel(), mode="valid")
np.correlate(A.ravel(), A.ravel(), mode="same")

np.convolve(B[0][0], A.ravel(), mode="valid")
np.convolve(A.ravel(), A.ravel(), mode="same")

np.outer(i8, A)
np.outer(B, A)
np.outer(A, A)
np.outer(A, A, out=C)

np.tensordot(B, A)
np.tensordot(A, A)
np.tensordot(A, A, axes=0)
np.tensordot(A, A, axes=(0, 1))

np.isscalar(i8)
np.isscalar(A)
np.isscalar(B)

np.roll(A, 1)
np.roll(A, (1, 2))
np.roll(B, 1)

np.rollaxis(A, 0, 1)

np.moveaxis(A, 0, 1)
np.moveaxis(A, (0, 1), (1, 2))

np.cross(B, A)
np.cross(A, A)

np.indices([0, 1, 2])
np.indices([0, 1, 2], sparse=False)
np.indices([0, 1, 2], sparse=True)

np.binary_repr(1)

np.base_repr(1)

np.allclose(i8, A)
np.allclose(B, A)
np.allclose(A, A)

np.isclose(i8, A)
np.isclose(B, A)
np.isclose(A, A)

np.array_equal(i8, A)
np.array_equal(B, A)
np.array_equal(A, A)

np.array_equiv(i8, A)
np.array_equiv(B, A)
np.array_equiv(A, A)

SILENT KILLER Tool