bundles / numpy 2.4.4 / numpy / lib / _arraypad_impl / _set_pad_area
function
numpy.lib._arraypad_impl:_set_pad_area
Signature
def _set_pad_area ( padded , axis , width_pair , value_pair ) Summary
Set empty-padded area in given dimension.
Parameters
padded: ndarrayArray with the pad area which is modified inplace.
axis: intDimension with the pad area to set.
width_pair: (int, int)Pair of widths that mark the pad area on both sides in the given dimension.
value_pair: tuple of scalars or ndarraysValues inserted into the pad area on each side. It must match or be broadcastable to the shape of
arr.
Aliases
-
numpy.lib._arraypad_impl._set_pad_area