Expand description
Array manipulation operations (flip, roll, tile, repeat, etc.)
Array manipulation operations similar to NumPy
’s array manipulation routines
This module provides functions for manipulating arrays, including flip, roll,
tile, repeat, and other operations, designed to mirror NumPy
’s functionality.
Functions§
- argmax
- Return the indices of the maximum values along the specified axis
- argmin
- Return the indices of the minimum values along the specified axis
- concatenate_
2d - Concatenate 2D arrays along a specified axis
- flip_2d
- Flip a 2D array along one or more axes
- gradient
- Calculate the gradient of an array
- hstack_
1d - Stack a sequence of 1D arrays horizontally (as columns) into a 2D array
- meshgrid
- Create a meshgrid from 1D coordinate arrays
- pad_2d
- Pad a 2D array with a constant value
- repeat_
2d - Repeat array elements by duplicating values
- roll_2d
- Roll array elements along one or both axes
- squeeze_
2d - Remove a dimension of size 1 from a 2D array, resulting in a 1D array
- swap_
axes_ 2d - Swap rows or columns in a 2D array
- tile_2d
- Repeat an array by tiling it in multiple dimensions
- unique
- Find unique elements in an array
- vstack_
1d - Stack a sequence of 1D arrays into a 2D array
Type Aliases§
- Gradient
Result - Result type for gradient function