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

def pacman(a: np.ndarray[S[N], T], delta: np.ndarray[[N], int]) -> np.ndarray[S[N], T]:

Shift an array by some delta using pacman (periodic) boundary conditions. E.g., tiles of the same array exist to either side.

def periodic(a: np.ndarray[S[N], T], delta: np.ndarray[[N], int]) -> np.ndarray[S[N], T]:

Shift an array by some delta using periodic (pacman) boundary conditions E.g., tiles of the same array exist to either side.

def reflect(a: np.ndarray[S[N], T], delta: np.ndarray[[N], int]) -> np.ndarray[S[N], T]:

Shift an array by some delta using reflecting boundary conditions. E.g., the array is surrounded by reflected versions of itself.

T =

Undocumented

Value
TypeVar('T')
_lgr =

Undocumented