module documentation
Helpers for array operations
Function | const |
Shift and array by some delta using constant boundary conditions E.g., the array is surrounded by a constant value |
Function | pacman |
Shift an array by some delta using pacman (periodic) boundary conditions. E.g., tiles of the same array exist to either side. |
Function | periodic |
Shift an array by some delta using periodic (pacman) boundary conditions E.g., tiles of the same array exist to either side. |
Function | reflect |
Shift an array by some delta using reflecting boundary conditions. E.g., the array is surrounded by reflected versions of itself. |
Type Variable | T |
Undocumented |
Variable | _lgr |
Undocumented |
def const(a:
np.ndarray[ S[ N], T]
, delta: np.ndarray[ [ N], int]
, const: T
= 0) -> np.ndarray[ S[ N], T]
:
¶
Shift and array by some delta using constant boundary conditions E.g., the array is surrounded by a constant value
Shift an array by some delta using pacman (periodic) boundary conditions. E.g., tiles of the same array exist to either side.
Shift an array by some delta using periodic (pacman) boundary conditions E.g., tiles of the same array exist to either side.