1 #cython: autotestdict=False
2 #cython: auto_pickle=False
3 #cython: boundscheck=False
4 #cython: wraparound=False
7 from cpython
.array cimport array
8 from cython
.parallel
import prange
10 cdef inline array_i8
(object o
):
13 cdef inline array_u8
(object o
):
16 cdef inline array_i16
(object o
):
19 cdef inline array_u16
(object o
):
22 cdef inline array_i32
(object o
):
23 if INT32_MAX
== INT_MAX
:
27 cdef inline array_u32
(object o
):
28 if UINT32_MAX
== UINT_MAX
:
32 cdef inline array_i64
(object o
):
33 if INT64_MAX
== LONG_MAX
:
37 cdef inline array_u64
(object o
):
38 if UINT64_MAX
== ULONG_MAX
:
42 cdef inline array_f32
(object o
):
45 cdef inline array_f64
(object o
):
48 cdef inline array_num
(object o
):
49 if A_FLOAT_TYPE
== A_FLOAT_SINGLE
:
53 def hash_bkdr
(bytes
str, a_u32 val
= 0) -> a_u32
:
54 return a_hash_bkdr
(str, val
)
56 def hash_sdbm
(bytes
str, a_u32 val
= 0) -> a_u32
:
57 return a_hash_sdbm
(str, val
)
65 include
"a/pid_fuzzy.pxi"
66 include
"a/pid_neuro.pxi"
69 include
"a/trajbell.pxi"
70 include
"a/trajpoly3.pxi"
71 include
"a/trajpoly5.pxi"
72 include
"a/trajpoly7.pxi"
73 include
"a/trajtrap.pxi"
74 include
"a/version.pxi"