module documentation

Undocumented

Constant O Undocumented
Constant P Undocumented
Constant UPPER​_TABLE Undocumented
Variable all Undocumented
Variable ​All​Ones Undocumented
Variable all​P Undocumented
Variable arity​_lookup Undocumented
Variable bints Undocumented
Variable bints​O Undocumented
Variable chartoname Undocumented
Variable cmplx Undocumented
Variable cmplx​O Undocumented
Variable cmplx​P Undocumented
Variable cmplxvec Undocumented
Variable defdict Undocumented
Variable ​False_ Undocumented
Variable flts Undocumented
Variable flts​O Undocumented
Variable flts​P Undocumented
Variable inexact Undocumented
Variable inexactvec Undocumented
Variable int64 Undocumented
Variable intflt Undocumented
Variable intfltcmplx Undocumented
Variable ints Undocumented
Variable ints​O Undocumented
Variable ​Minus​Infinity Undocumented
Variable nobool​_or​_datetime Undocumented
Variable nobool​_or​_obj Undocumented
Variable nocmplx Undocumented
Variable nocmplx​O Undocumented
Variable nocmplx​P Undocumented
Variable nodatetime​_or​_obj Undocumented
Variable noint Undocumented
Variable noint​P Undocumented
Variable ​None_ Undocumented
Variable noobj Undocumented
Variable notimes​_or​_obj Undocumented
Variable ​One Undocumented
Variable ​Reorderable​None Undocumented
Variable sints Undocumented
Variable timedeltaonly Undocumented
Variable times Undocumented
Variable ​True_ Undocumented
Variable uint64 Undocumented
Variable uints Undocumented
Variable ​Zero Undocumented
Class ​Full​Type​Descr Undocumented
Class ​Func​Name​Suffix Stores the suffix to append when generating functions names.
Class ​Type​Description Type signature for a ufunc.
Class ​Ufunc Description of a ufunc.
Function build​_func​_data Undocumented
Function english​_upper Apply English case rules to convert ASCII strings to all upper case.
Function indent Undocumented
Function make​_arrays Undocumented
Function make​_code Undocumented
Function make​_ufuncs Undocumented
Function TD Undocumented
Variable ​_fdata​_map Undocumented
O: str =

Undocumented

Value
'O'
P: str =

Undocumented

Value
'P'
UPPER_TABLE =

Undocumented

Value
bytes.maketrans(bytes(string.ascii_lowercase, 'ascii'),
                bytes(string.ascii_uppercase, 'ascii'))
all: str =

Undocumented

AllOnes: str =

Undocumented

allP =

Undocumented

arity_lookup: dict =

Undocumented

bints =

Undocumented

bintsO =

Undocumented

chartoname: dict[str, str] =

Undocumented

cmplx: str =

Undocumented

cmplxO =

Undocumented

cmplxP =

Undocumented

cmplxvec: str =

Undocumented

defdict =

Undocumented

False_: str =

Undocumented

flts: str =

Undocumented

fltsO =

Undocumented

fltsP =

Undocumented

inexact =

Undocumented

inexactvec: str =

Undocumented

int64 =

Undocumented

intflt =

Undocumented

intfltcmplx =

Undocumented

ints: str =

Undocumented

intsO =

Undocumented

MinusInfinity: str =

Undocumented

nobool_or_datetime =

Undocumented

nobool_or_obj =

Undocumented

nocmplx =

Undocumented

nocmplxO =

Undocumented

nocmplxP =

Undocumented

nodatetime_or_obj =

Undocumented

noint =

Undocumented

nointP =

Undocumented

None_ =

Undocumented

noobj: str =

Undocumented

notimes_or_obj =

Undocumented

One: str =

Undocumented

ReorderableNone: str =

Undocumented

sints: str =

Undocumented

timedeltaonly: str =

Undocumented

times: str =

Undocumented

True_: str =

Undocumented

uint64 =

Undocumented

uints: str =

Undocumented

Zero: str =

Undocumented

def build_func_data(types, f):

Undocumented

def english_upper(s):

Apply English case rules to convert ASCII strings to all upper case.

This is an internal utility function to replace calls to str.upper() such that we can avoid changing behavior with changing locales. In particular, Turkish has distinct dotted and dotless variants of the Latin letter "I" in both lowercase and uppercase. Thus, "i".upper() != "I" in a "tr" locale.

Parameters

s : str

Returns

uppered : str

Examples

>>> from numpy.lib.utils import english_upper
>>> s = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_'
>>> english_upper(s)
'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'
>>> english_upper('')
''
def indent(st, spaces):

Undocumented

def make_arrays(funcdict):

Undocumented

def make_code(funcdict, filename):

Undocumented

def make_ufuncs(funcdict):

Undocumented

def TD(types, f=None, astype=None, in_=None, out=None, cfunc_alias=None, simd=None, dispatch=None):

Undocumented

_fdata_map =

Undocumented