1 from typing import Iterable, overload
2 from array import array
4 def hash_bkdr(str: bytes, val: int = 0) -> int: ...
5 def hash_sdbm(str: bytes, val: int = 0) -> int: ...
6 def isqrt(x: int) -> int: ...
8 def sqrt_u32(x: Iterable[int]) -> array[int]: ...
10 def sqrt_u32(x: int) -> int: ...
12 def sqrt_u64(x: Iterable[int]) -> array[int]: ...
14 def sqrt_u64(x: int) -> int: ...
16 def rsqrt_f32(x: Iterable[float]) -> array[float]: ...
18 def rsqrt_f32(x: float) -> float: ...
20 def rsqrt_f64(x: Iterable[float]) -> array[float]: ...
22 def rsqrt_f64(x: float) -> float: ...
25 def __init__(self, poly: int, reversed=False) -> None: ...
26 def gen(self, poly: int, reversed=False) -> crc8: ...
27 def __call__(self, block: bytes, value=0) -> int: ...
28 def pack(self, block: bytes, value=0) -> bytes: ...
30 def table(self) -> array[int]: ...
33 def __init__(self, poly: int, reversed=False) -> None: ...
34 def gen(self, poly: int, reversed=False) -> crc16: ...
35 def __call__(self, block: bytes, value=0) -> int: ...
36 def pack(self, block: bytes, value=0) -> bytes: ...
38 def table(self) -> array[int]: ...
41 def __init__(self, poly: int, reversed=False) -> None: ...
42 def gen(self, poly: int, reversed=False) -> crc32: ...
43 def __call__(self, block: bytes, value=0) -> int: ...
44 def pack(self, block: bytes, value=0) -> bytes: ...
46 def table(self) -> array[int]: ...
49 def __init__(self, poly: int, reversed=False) -> None: ...
50 def gen(self, poly: int, reversed=False) -> crc64: ...
51 def __call__(self, block: bytes, value=0) -> int: ...
52 def pack(self, block: bytes, value=0) -> bytes: ...
54 def table(self) -> array[int]: ...
57 def __init__(self, fc: float, ts: float) -> None: ...
58 def gen(self, fc: float, ts: float) -> hpf: ...
59 def __call__(self, x: float) -> float: ...
60 def zero(self) -> hpf: ...
62 def alpha(self) -> float: ...
64 def alpha(self, x: float) -> None: ...
66 def output(self) -> float: ...
68 def input(self) -> float: ...
71 def __init__(self, fc: float, ts: float) -> None: ...
72 def gen(self, fc: float, ts: float) -> lpf: ...
73 def __call__(self, x: float) -> float: ...
74 def zero(self) -> lpf: ...
76 def alpha(self) -> float: ...
78 def alpha(self, x: float) -> None: ...
80 def output(self) -> float: ...
99 def __call__(e: int, x: Iterable[float], a: Iterable[float]) -> array[float]: ...
102 def __call__(e: int, x: float, a: Iterable[float]) -> float: ...
105 def gauss(x: Iterable[float], sigma: float, c: float) -> array[float]: ...
108 def gauss(x: float, sigma: float, c: float) -> float: ...
112 x: Iterable[float], sigma1: float, c1: float, sigma2: float, c2: float
113 ) -> array[float]: ...
116 def gauss2(x: float, sigma1: float, c1: float, sigma2: float, c2: float) -> float: ...
119 def gbell(x: Iterable[float], a: float, b: float, c: float) -> array[float]: ...
122 def gbell(x: float, a: float, b: float, c: float) -> float: ...
125 def sig(x: Iterable[float], a: float, c: float) -> array[float]: ...
128 def sig(x: float, a: float, c: float) -> float: ...
131 def dsig(x: Iterable[float], a1: float, c1: float, a2: float, c2: float) -> array[float]: ...
134 def dsig(x: float, a1: float, c1: float, a2: float, c2: float) -> float: ...
137 def psig(x: Iterable[float], a1: float, c1: float, a2: float, c2: float) -> array[float]: ...
140 def psig(x: float, a1: float, c1: float, a2: float, c2: float) -> float: ...
143 def trap(x: Iterable[float], a: float, b: float, c: float, d: float) -> array[float]: ...
146 def trap(x: float, a: float, b: float, c: float, d: float) -> float: ...
149 def tri(x: Iterable[float], a: float, b: float, c: float) -> array[float]: ...
152 def tri(x: float, a: float, b: float, c: float) -> float: ...
155 def lins(x: Iterable[float], a: float, b: float) -> array[float]: ...
158 def lins(x: float, a: float, b: float) -> float: ...
161 def linz(x: Iterable[float], a: float, b: float) -> array[float]: ...
164 def linz(x: float, a: float, b: float) -> float: ...
167 def s(x: Iterable[float], a: float, b: float) -> array[float]: ...
170 def s(x: float, a: float, b: float) -> float: ...
173 def z(x: Iterable[float], a: float, b: float) -> array[float]: ...
176 def z(x: float, a: float, b: float) -> float: ...
179 def pi(x: Iterable[float], a: float, b: float, c: float, d: float) -> array[float]: ...
182 def pi(x: float, a: float, b: float, c: float, d: float) -> float: ...
185 def __init__(self) -> None: ...
186 def kpid(self, kp: float, ki: float, kd: float) -> pid: ...
187 def run(self, set: float, fdb: float) -> float: ...
188 def pos(self, set: float, fdb: float) -> float: ...
189 def inc(self, set: float, fdb: float) -> float: ...
190 def zero(self) -> pid: ...
192 def kp(self) -> float: ...
194 def kp(self, kp: float) -> None: ...
196 def ki(self) -> float: ...
198 def ki(self, ki: float) -> None: ...
200 def kd(self) -> float: ...
202 def kd(self, kd: float) -> None: ...
204 def summax(self) -> float: ...
206 def summax(self, summax: float) -> None: ...
208 def summin(self) -> float: ...
210 def summin(self, summin: float) -> None: ...
212 def outmax(self) -> float: ...
214 def outmax(self, outmax: float) -> None: ...
216 def outmin(self) -> float: ...
218 def outmin(self, outmin: float) -> None: ...
220 def out(self) -> float: ...
222 def fdb(self) -> float: ...
224 def err(self) -> float: ...
234 def __init__(self) -> None: ...
235 def op(self, op: int) -> pid_fuzzy: ...
238 me: Iterable[Iterable[float]],
239 mec: Iterable[Iterable[float]],
240 mkp: Iterable[Iterable[float]],
241 mki: Iterable[Iterable[float]],
242 mkd: Iterable[Iterable[float]],
244 def set_block(self, num: int) -> pid_fuzzy: ...
245 def kpid(self, kp: float, ki: float, kd: float) -> pid_fuzzy: ...
246 def run(self, set: float, fdb: float) -> float: ...
247 def pos(self, set: float, fdb: float) -> float: ...
248 def inc(self, set: float, fdb: float) -> float: ...
249 def zero(self) -> pid_fuzzy: ...
251 def block(self) -> int: ...
253 def block(self, block: int) -> None: ...
255 def kp(self) -> float: ...
257 def kp(self, kp: float) -> None: ...
259 def ki(self) -> float: ...
261 def ki(self, ki: float) -> None: ...
263 def kd(self) -> float: ...
265 def kd(self, kd: float) -> None: ...
267 def summax(self) -> float: ...
269 def summax(self, summax: float) -> None: ...
271 def summin(self) -> float: ...
273 def summin(self, summin: float) -> None: ...
275 def outmax(self) -> float: ...
277 def outmax(self, outmax: float) -> None: ...
279 def outmin(self) -> float: ...
281 def outmin(self, outmin: float) -> None: ...
283 def out(self) -> float: ...
285 def fdb(self) -> float: ...
287 def err(self) -> float: ...
289 def order(self) -> int: ...
291 def me(self) -> array[float]: ...
293 def mec(self) -> array[float]: ...
295 def mkp(self) -> array[float]: ...
297 def mki(self) -> array[float]: ...
299 def mkd(self) -> array[float]: ...
302 def __init__(self) -> None: ...
303 def kpid(self, k: float, kp: float, ki: float, kd: float) -> pid_neuro: ...
304 def wpid(self, wp: float, wi: float, wd: float) -> pid_neuro: ...
305 def run(self, set: float, fdb: float) -> float: ...
306 def inc(self, set: float, fdb: float) -> float: ...
307 def zero(self) -> pid_neuro: ...
309 def k(self) -> float: ...
311 def k(self, k: float) -> None: ...
313 def kp(self) -> float: ...
315 def kp(self, kp: float) -> None: ...
317 def ki(self) -> float: ...
319 def ki(self, ki: float) -> None: ...
321 def kd(self) -> float: ...
323 def kd(self, kd: float) -> None: ...
325 def wp(self) -> float: ...
327 def wp(self, wp: float) -> None: ...
329 def wi(self) -> float: ...
331 def wi(self, wi: float) -> None: ...
333 def wd(self) -> float: ...
335 def wd(self, wd: float) -> None: ...
337 def summax(self) -> float: ...
339 def summax(self, summax: float) -> None: ...
341 def summin(self) -> float: ...
343 def summin(self, summin: float) -> None: ...
345 def outmax(self) -> float: ...
347 def outmax(self, outmax: float) -> None: ...
349 def outmin(self) -> float: ...
351 def outmin(self, outmin: float) -> None: ...
353 def out(self) -> float: ...
355 def fdb(self) -> float: ...
357 def err(self) -> float: ...
359 def ec(self) -> float: ...
362 def poly_eval(x: Iterable[float], *a: float) -> array[float]: ...
364 def poly_eval(x: float, *a: float) -> float: ...
366 def poly_evar(x: Iterable[float], *a: float) -> array[float]: ...
368 def poly_evar(x: float, *a: float) -> float: ...
371 def __init__(self, num: Iterable[float], den: Iterable[float]) -> None: ...
373 def input(self) -> array[float]: ...
375 def num(self) -> array[float]: ...
377 def num(self, num: Iterable[float]) -> None: ...
379 def output(self) -> array[float]: ...
381 def den(self) -> array[float]: ...
383 def den(self, den: Iterable[float]) -> None: ...
384 def __call__(self, x: float) -> float: ...
385 def zero(self) -> tf: ...
399 def pos(self, dt: Iterable[float]) -> array[float]: ...
401 def pos(self, dt: float) -> float: ...
403 def vel(self, dt: Iterable[float]) -> array[float]: ...
405 def vel(self, dt: float) -> float: ...
407 def acc(self, dt: Iterable[float]) -> array[float]: ...
409 def acc(self, dt: float) -> float: ...
411 def jer(self, dt: Iterable[float]) -> array[float]: ...
413 def jer(self, dt: float) -> float: ...
415 def t(self) -> float: ...
417 def tv(self) -> float: ...
419 def ta(self) -> float: ...
421 def td(self) -> float: ...
423 def taj(self) -> float: ...
425 def tdj(self) -> float: ...
427 def p0(self) -> float: ...
429 def p1(self) -> float: ...
431 def v0(self) -> float: ...
433 def v1(self) -> float: ...
435 def vm(self) -> float: ...
437 def jm(self) -> float: ...
439 def am(self) -> float: ...
441 def dm(self) -> float: ...
461 def pos(self, dt: Iterable[float]) -> array[float]: ...
463 def pos(self, dt: float) -> float: ...
465 def vel(self, dt: Iterable[float]) -> array[float]: ...
467 def vel(self, dt: float) -> float: ...
469 def acc(self, dt: Iterable[float]) -> array[float]: ...
471 def acc(self, dt: float) -> float: ...
473 def p(self) -> array[float]: ...
475 def v(self) -> array[float]: ...
477 def a(self) -> array[float]: ...
501 def pos(self, dt: Iterable[float]) -> array[float]: ...
503 def pos(self, dt: float) -> float: ...
505 def vel(self, dt: Iterable[float]) -> array[float]: ...
507 def vel(self, dt: float) -> float: ...
509 def acc(self, dt: Iterable[float]) -> array[float]: ...
511 def acc(self, dt: float) -> float: ...
513 def p(self) -> array[float]: ...
515 def v(self) -> array[float]: ...
517 def a(self) -> array[float]: ...
545 def pos(self, dt: Iterable[float]) -> array[float]: ...
547 def pos(self, dt: float) -> float: ...
549 def vel(self, dt: Iterable[float]) -> array[float]: ...
551 def vel(self, dt: float) -> float: ...
553 def acc(self, dt: Iterable[float]) -> array[float]: ...
555 def acc(self, dt: float) -> float: ...
557 def jer(self, dt: Iterable[float]) -> array[float]: ...
559 def jer(self, dt: float) -> float: ...
561 def p(self) -> array[float]: ...
563 def v(self) -> array[float]: ...
565 def a(self) -> array[float]: ...
567 def j(self) -> array[float]: ...
581 def pos(self, dt: Iterable[float]) -> array[float]: ...
583 def pos(self, dt: float) -> float: ...
585 def vel(self, dt: Iterable[float]) -> array[float]: ...
587 def vel(self, dt: float) -> float: ...
589 def acc(self, dt: Iterable[float]) -> array[float]: ...
591 def acc(self, dt: float) -> float: ...
593 def t(self) -> float: ...
595 def p0(self) -> float: ...
597 def p1(self) -> float: ...
599 def v0(self) -> float: ...
601 def v1(self) -> float: ...
603 def vc(self) -> float: ...
605 def ta(self) -> float: ...
607 def td(self) -> float: ...
609 def pa(self) -> float: ...
611 def pd(self) -> float: ...
613 def ac(self) -> float: ...
615 def de(self) -> float: ...
619 def check(major: int = 0, minor: int = 0, patch: int = 0) -> int: ...
620 def __init__(self, major: int = 0, minor: int = 0, third: int = 0, extra: int = 0) -> None: ...
621 def compare(self, that: version) -> int: ...
622 def __lt__(self, that: version) -> bool: ...
623 def __gt__(self, that: version) -> bool: ...
624 def __le__(self, that: version) -> bool: ...
625 def __ge__(self, that: version) -> bool: ...
626 def __eq__(self, that: version) -> bool: ...
627 def __ne__(self, that: version) -> bool: ...
628 def parse(self, ver: bytes) -> version: ...
630 def major(self) -> int: ...
632 def major(self, major: int) -> None: ...
634 def minor(self) -> int: ...
636 def minor(self, minor: int) -> None: ...
638 def third(self) -> int: ...
640 def third(self, third: int) -> None: ...
642 def extra(self) -> int: ...
644 def extra(self, extra: int) -> None: ...