subroutines#

Module containing miscellaneous utility subroutines.

Functions

human2bytes

Convert a human readable string representing a memory size to an integer number of bytes.

matrix_is_sorted

Determine if a matrix is sorted in ascending order.

slice_to_list

Convert a slice object to a list object.

slice_to_range

Convert a slice object to a range object.

srange

Stop range generator.