($+Ǔ H d Z ddlZddlmZ ddlmZmZ g dZ G d d Z d Z
ddZddddd
Z ee dd d dd Z
d ZddZ eed dd Zd Z ed d ZdddZ eed d dd ZdS )z
Utilities that manipulate strides to achieve desirable effects.
An explanation of strides can be found in the "ndarray.rst" file in the
NumPy reference guide.
N)normalize_axis_tuple)array_function_dispatch
set_module)broadcast_tobroadcast_arraysbroadcast_shapesc e Zd ZdZddZdS )
DummyArrayzDummy object that just exists to hang __array_interface__ dictionaries
and possibly keep alive a reference to a base array.
Nc " || _ || _ d S N)__array_interface__base)self interfacer s k/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/lib/stride_tricks.py__init__zDummyArray.__init__ s #, r )__name__
__module____qualname____doc__r r r r
r
s2 r r
c t | t | ur?| t | }|j r| | |S )N)type)r view__array_finalize__)original_array new_arrays r _maybe_view_as_subclassr s_ N4 ??22 NN^(<(