Skip to content

module numpy.misc

Source: stdlib/numpy/misc.codon


MAXDIMS: Literal[int] = 32


MAY_SHARE_BOUNDS: Literal[int] = 0


MAY_SHARE_EXACT: Literal[int] = -1


i128 = Int[128]


DiophantineTerm @tuple Class is named tuple (cannot write fields)

Fields

a: int

ub: int

Magic methods

__lt__(self, other: DiophantineTerm)

Methods

with_a(self, a: int)

with_ub(self, ub: int)


shares_memory(a: ndarray, b: ndarray, max_work: Optional[int] = None)


may_share_memory(a: ndarray, b: ndarray, max_work: Optional[int] = None)


setbufsize(size: int)


getbufsize()


byte_bounds(a: ndarray)