1 from typing import Iterable, overload
2 from array import array
4 def array_i8(o: object) -> array[int]: ...
5 def array_u8(o: object) -> array[int]: ...
6 def array_i16(o: object) -> array[int]: ...
7 def array_u16(o: object) -> array[int]: ...
8 def array_i32(o: object) -> array[int]: ...
9 def array_u32(o: object) -> array[int]: ...
10 def array_i64(o: object) -> array[int]: ...
11 def array_u64(o: object) -> array[int]: ...
12 def array_f32(o: object) -> array[float]: ...
13 def array_f64(o: object) -> array[float]: ...
14 def array_num(o: object) -> array[float]: ...
15 def hash_bkdr(str: bytes, val: int = 0) -> int: ...
16 def hash_sdbm(str: bytes, val: int = 0) -> int: ...
17 def isqrt(x: int) -> int: ...
19 def sqrt_u32(x: Iterable[int]) -> array[int]: ...
21 def sqrt_u32(x: int) -> int: ...
23 def sqrt_u64(x: Iterable[int]) -> array[int]: ...
25 def sqrt_u64(x: int) -> int: ...
27 def rsqrt_f32(x: Iterable[float]) -> array[float]: ...
29 def rsqrt_f32(x: float) -> float: ...
31 def rsqrt_f64(x: Iterable[float]) -> array[float]: ...
33 def rsqrt_f64(x: float) -> float: ...
36 def __init__(self, poly: int, reversed=False) -> None: ...
37 def gen(self, poly: int, reversed=False) -> crc8: ...
38 def __call__(self, block: bytes, value=0) -> int: ...
39 def pack(self, block: bytes, value=0) -> bytes: ...
41 def table(self) -> array[int]: ...
44 def __init__(self, poly: int, reversed=False) -> None: ...
45 def gen(self, poly: int, reversed=False) -> crc16: ...
46 def __call__(self, block: bytes, value=0) -> int: ...
47 def pack(self, block: bytes, value=0) -> bytes: ...
49 def table(self) -> array[int]: ...
52 def __init__(self, poly: int, reversed=False) -> None: ...
53 def gen(self, poly: int, reversed=False) -> crc32: ...
54 def __call__(self, block: bytes, value=0) -> int: ...
55 def pack(self, block: bytes, value=0) -> bytes: ...
57 def table(self) -> array[int]: ...
60 def __init__(self, poly: int, reversed=False) -> None: ...
61 def gen(self, poly: int, reversed=False) -> crc64: ...
62 def __call__(self, block: bytes, value=0) -> int: ...
63 def pack(self, block: bytes, value=0) -> bytes: ...
65 def table(self) -> array[int]: ...
68 def __init__(self, fc: float, ts: float) -> None: ...
69 def gen(self, fc: float, ts: float) -> hpf: ...
70 def __call__(self, x: float) -> float: ...
71 def zero(self) -> hpf: ...
73 def alpha(self) -> float: ...
75 def alpha(self, x: float) -> None: ...
77 def output(self) -> float: ...
79 def input(self) -> float: ...
82 def __init__(self, fc: float, ts: float) -> None: ...
83 def gen(self, fc: float, ts: float) -> lpf: ...
84 def __call__(self, x: float) -> float: ...
85 def zero(self) -> lpf: ...
87 def alpha(self) -> float: ...
89 def alpha(self, x: float) -> None: ...
91 def output(self) -> float: ...
110 def __call__(e: int, x: Iterable[float], a: Iterable[float]) -> array[float]: ...
113 def __call__(e: int, x: float, a: Iterable[float]) -> float: ...
116 def gauss(x: Iterable[float], sigma: float, c: float) -> array[float]: ...
119 def gauss(x: float, sigma: float, c: float) -> float: ...
123 x: Iterable[float], sigma1: float, c1: float, sigma2: float, c2: float
124 ) -> array[float]: ...
127 def gauss2(x: float, sigma1: float, c1: float, sigma2: float, c2: float) -> float: ...
130 def gbell(x: Iterable[float], a: float, b: float, c: float) -> array[float]: ...
133 def gbell(x: float, a: float, b: float, c: float) -> float: ...
136 def sig(x: Iterable[float], a: float, c: float) -> array[float]: ...
139 def sig(x: float, a: float, c: float) -> float: ...
142 def dsig(x: Iterable[float], a1: float, c1: float, a2: float, c2: float) -> array[float]: ...
145 def dsig(x: float, a1: float, c1: float, a2: float, c2: float) -> float: ...
148 def psig(x: Iterable[float], a1: float, c1: float, a2: float, c2: float) -> array[float]: ...
151 def psig(x: float, a1: float, c1: float, a2: float, c2: float) -> float: ...
154 def trap(x: Iterable[float], a: float, b: float, c: float, d: float) -> array[float]: ...
157 def trap(x: float, a: float, b: float, c: float, d: float) -> float: ...
160 def tri(x: Iterable[float], a: float, b: float, c: float) -> array[float]: ...
163 def tri(x: float, a: float, b: float, c: float) -> float: ...
166 def lins(x: Iterable[float], a: float, b: float) -> array[float]: ...
169 def lins(x: float, a: float, b: float) -> float: ...
172 def linz(x: Iterable[float], a: float, b: float) -> array[float]: ...
175 def linz(x: float, a: float, b: float) -> float: ...
178 def s(x: Iterable[float], a: float, b: float) -> array[float]: ...
181 def s(x: float, a: float, b: float) -> float: ...
184 def z(x: Iterable[float], a: float, b: float) -> array[float]: ...
187 def z(x: float, a: float, b: float) -> float: ...
190 def pi(x: Iterable[float], a: float, b: float, c: float, d: float) -> array[float]: ...
193 def pi(x: float, a: float, b: float, c: float, d: float) -> float: ...
199 def __init__(self) -> None: ...
200 def kpid(self, kp: float, ki: float, kd: float) -> pid: ...
201 def run(self, set: float, fdb: float) -> float: ...
202 def pos(self, set: float, fdb: float) -> float: ...
203 def inc(self, set: float, fdb: float) -> float: ...
204 def zero(self) -> pid: ...
206 def kp(self) -> float: ...
208 def kp(self, kp: float) -> None: ...
210 def ki(self) -> float: ...
212 def ki(self, ki: float) -> None: ...
214 def kd(self) -> float: ...
216 def kd(self, kd: float) -> None: ...
218 def summax(self) -> float: ...
220 def summax(self, summax: float) -> None: ...
222 def summin(self) -> float: ...
224 def summin(self, summin: float) -> None: ...
226 def outmax(self) -> float: ...
228 def outmax(self, outmax: float) -> None: ...
230 def outmin(self) -> float: ...
232 def outmin(self, outmin: float) -> None: ...
234 def out(self) -> float: ...
236 def fdb(self) -> float: ...
238 def err(self) -> float: ...
248 def __init__(self) -> None: ...
249 def op(self, op: int) -> pid_fuzzy: ...
252 me: Iterable[Iterable[float]],
253 mec: Iterable[Iterable[float]],
254 mkp: Iterable[Iterable[float]],
255 mki: Iterable[Iterable[float]],
256 mkd: Iterable[Iterable[float]],
258 def set_joint(self, num: int) -> pid_fuzzy: ...
259 def kpid(self, kp: float, ki: float, kd: float) -> pid_fuzzy: ...
260 def run(self, set: float, fdb: float) -> float: ...
261 def pos(self, set: float, fdb: float) -> float: ...
262 def inc(self, set: float, fdb: float) -> float: ...
263 def zero(self) -> pid_fuzzy: ...
265 def joint(self) -> int: ...
267 def joint(self, joint: int) -> None: ...
269 def kp(self) -> float: ...
271 def kp(self, kp: float) -> None: ...
273 def ki(self) -> float: ...
275 def ki(self, ki: float) -> None: ...
277 def kd(self) -> float: ...
279 def kd(self, kd: float) -> None: ...
281 def summax(self) -> float: ...
283 def summax(self, summax: float) -> None: ...
285 def summin(self) -> float: ...
287 def summin(self, summin: float) -> None: ...
289 def outmax(self) -> float: ...
291 def outmax(self, outmax: float) -> None: ...
293 def outmin(self) -> float: ...
295 def outmin(self, outmin: float) -> None: ...
297 def out(self) -> float: ...
299 def fdb(self) -> float: ...
301 def err(self) -> float: ...
303 def order(self) -> int: ...
306 def __init__(self) -> None: ...
307 def kpid(self, k: float, kp: float, ki: float, kd: float) -> pid_neuro: ...
308 def wpid(self, wp: float, wi: float, wd: float) -> pid_neuro: ...
309 def run(self, set: float, fdb: float) -> float: ...
310 def inc(self, set: float, fdb: float) -> float: ...
311 def zero(self) -> pid_neuro: ...
313 def k(self) -> float: ...
315 def k(self, k: float) -> None: ...
317 def kp(self) -> float: ...
319 def kp(self, kp: float) -> None: ...
321 def ki(self) -> float: ...
323 def ki(self, ki: float) -> None: ...
325 def kd(self) -> float: ...
327 def kd(self, kd: float) -> None: ...
329 def wp(self) -> float: ...
331 def wp(self, wp: float) -> None: ...
333 def wi(self) -> float: ...
335 def wi(self, wi: float) -> None: ...
337 def wd(self) -> float: ...
339 def wd(self, wd: float) -> None: ...
341 def summax(self) -> float: ...
343 def summax(self, summax: float) -> None: ...
345 def summin(self) -> float: ...
347 def summin(self, summin: float) -> None: ...
349 def outmax(self) -> float: ...
351 def outmax(self, outmax: float) -> None: ...
353 def outmin(self) -> float: ...
355 def outmin(self, outmin: float) -> None: ...
357 def out(self) -> float: ...
359 def fdb(self) -> float: ...
361 def err(self) -> float: ...
363 def ec(self) -> float: ...
366 def poly_eval(x: Iterable[float], *a: float) -> array[float]: ...
368 def poly_eval(x: float, *a: float) -> float: ...
370 def poly_evar(x: Iterable[float], *a: float) -> array[float]: ...
372 def poly_evar(x: float, *a: float) -> float: ...
394 def pos(self, dt: Iterable[float]) -> array[float]: ...
396 def pos(self, dt: float) -> float: ...
398 def vel(self, dt: Iterable[float]) -> array[float]: ...
400 def vel(self, dt: float) -> float: ...
402 def acc(self, dt: Iterable[float]) -> array[float]: ...
404 def acc(self, dt: float) -> float: ...
406 def q(self) -> array[float]: ...
408 def v(self) -> array[float]: ...
410 def a(self) -> array[float]: ...
436 def pos(self, dt: Iterable[float]) -> array[float]: ...
438 def pos(self, dt: float) -> float: ...
440 def vel(self, dt: Iterable[float]) -> array[float]: ...
442 def vel(self, dt: float) -> float: ...
444 def acc(self, dt: Iterable[float]) -> array[float]: ...
446 def acc(self, dt: float) -> float: ...
448 def q(self) -> array[float]: ...
450 def v(self) -> array[float]: ...
452 def a(self) -> array[float]: ...
482 def pos(self, dt: Iterable[float]) -> array[float]: ...
484 def pos(self, dt: float) -> float: ...
486 def vel(self, dt: Iterable[float]) -> array[float]: ...
488 def vel(self, dt: float) -> float: ...
490 def acc(self, dt: Iterable[float]) -> array[float]: ...
492 def acc(self, dt: float) -> float: ...
494 def jer(self, dt: Iterable[float]) -> array[float]: ...
496 def jer(self, dt: float) -> float: ...
498 def q(self) -> array[float]: ...
500 def v(self) -> array[float]: ...
502 def a(self) -> array[float]: ...
504 def j(self) -> array[float]: ...
507 def __init__(self, num: Iterable[float], den: Iterable[float]) -> None: ...
509 def input(self) -> array[float]: ...
511 def num(self) -> array[float]: ...
513 def num(self, num: Iterable[float]) -> None: ...
515 def output(self) -> array[float]: ...
517 def den(self) -> array[float]: ...
519 def den(self, den: Iterable[float]) -> None: ...
520 def __call__(self, x: float) -> float: ...
521 def zero(self) -> tf: ...
525 def check(major: int = 0, minor: int = 0, patch: int = 0) -> int: ...
526 def __init__(self, major: int = 0, minor: int = 0, third: int = 0, extra: int = 0) -> None: ...
527 def compare(self, other: version) -> int: ...
528 def __lt__(self, other: version) -> bool: ...
529 def __gt__(self, other: version) -> bool: ...
530 def __le__(self, other: version) -> bool: ...
531 def __ge__(self, other: version) -> bool: ...
532 def __eq__(self, other: version) -> bool: ...
533 def __ne__(self, other: version) -> bool: ...
534 def parse(self, ver: bytes) -> version: ...
536 def major(self) -> int: ...
538 def major(self, major: int) -> None: ...
540 def minor(self) -> int: ...
542 def minor(self, minor: int) -> None: ...
544 def third(self) -> int: ...
546 def third(self, third: int) -> None: ...
548 def extra(self) -> int: ...
550 def extra(self, extra: int) -> None: ...