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 sum(self) -> float: ...
214 def outmax(self) -> float: ...
216 def outmax(self, outmax: float) -> None: ...
218 def outmin(self) -> float: ...
220 def outmin(self, outmin: float) -> None: ...
222 def out(self) -> float: ...
224 def fdb(self) -> float: ...
226 def err(self) -> float: ...
236 def __init__(self) -> None: ...
237 def op(self, op: int) -> pid_fuzzy: ...
240 me: Iterable[Iterable[float]],
241 mec: Iterable[Iterable[float]],
242 mkp: Iterable[Iterable[float]],
243 mki: Iterable[Iterable[float]],
244 mkd: Iterable[Iterable[float]],
246 def set_block(self, num: int) -> pid_fuzzy: ...
247 def kpid(self, kp: float, ki: float, kd: float) -> pid_fuzzy: ...
248 def run(self, set: float, fdb: float) -> float: ...
249 def pos(self, set: float, fdb: float) -> float: ...
250 def inc(self, set: float, fdb: float) -> float: ...
251 def zero(self) -> pid_fuzzy: ...
253 def me(self) -> array[float]: ...
255 def mec(self) -> array[float]: ...
257 def mkp(self) -> array[float]: ...
259 def mki(self) -> array[float]: ...
261 def mkd(self) -> array[float]: ...
263 def kp(self) -> float: ...
265 def kp(self, kp: float) -> None: ...
267 def ki(self) -> float: ...
269 def ki(self, ki: float) -> None: ...
271 def kd(self) -> float: ...
273 def kd(self, kd: float) -> None: ...
275 def summax(self) -> float: ...
277 def summax(self, summax: float) -> None: ...
279 def summin(self) -> float: ...
281 def summin(self, summin: float) -> None: ...
283 def sum(self) -> float: ...
285 def outmax(self) -> float: ...
287 def outmax(self, outmax: float) -> None: ...
289 def outmin(self) -> float: ...
291 def outmin(self, outmin: float) -> None: ...
293 def out(self) -> float: ...
295 def fdb(self) -> float: ...
297 def err(self) -> float: ...
299 def order(self) -> int: ...
301 def block(self) -> int: ...
303 def block(self, block: int) -> None: ...
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 outmax(self) -> float: ...
343 def outmax(self, outmax: float) -> None: ...
345 def outmin(self) -> float: ...
347 def outmin(self, outmin: float) -> None: ...
349 def out(self) -> float: ...
351 def fdb(self) -> float: ...
353 def err(self) -> float: ...
355 def ec(self) -> float: ...
358 def poly_eval(x: Iterable[float], *a: float) -> array[float]: ...
360 def poly_eval(x: float, *a: float) -> float: ...
362 def poly_evar(x: Iterable[float], *a: float) -> array[float]: ...
364 def poly_evar(x: float, *a: float) -> float: ...
367 def __init__(self, num: Iterable[float], den: Iterable[float]) -> None: ...
368 def __call__(self, x: float) -> float: ...
370 def input(self) -> array[float]: ...
372 def num(self) -> array[float]: ...
374 def num(self, num: Iterable[float]) -> None: ...
376 def output(self) -> array[float]: ...
378 def den(self) -> array[float]: ...
380 def den(self, den: Iterable[float]) -> None: ...
381 def zero(self) -> tf: ...
395 def pos(self, dt: Iterable[float]) -> array[float]: ...
397 def pos(self, dt: float) -> float: ...
399 def vel(self, dt: Iterable[float]) -> array[float]: ...
401 def vel(self, dt: float) -> float: ...
403 def acc(self, dt: Iterable[float]) -> array[float]: ...
405 def acc(self, dt: float) -> float: ...
407 def jer(self, dt: Iterable[float]) -> array[float]: ...
409 def jer(self, dt: float) -> float: ...
411 def t(self) -> float: ...
413 def tv(self) -> float: ...
415 def ta(self) -> float: ...
417 def td(self) -> float: ...
419 def taj(self) -> float: ...
421 def tdj(self) -> float: ...
423 def p0(self) -> float: ...
425 def p1(self) -> float: ...
427 def v0(self) -> float: ...
429 def v1(self) -> float: ...
431 def vm(self) -> float: ...
433 def jm(self) -> float: ...
435 def am(self) -> float: ...
437 def dm(self) -> float: ...
457 def pos(self, dt: Iterable[float]) -> array[float]: ...
459 def pos(self, dt: float) -> float: ...
461 def vel(self, dt: Iterable[float]) -> array[float]: ...
463 def vel(self, dt: float) -> float: ...
465 def acc(self, dt: Iterable[float]) -> array[float]: ...
467 def acc(self, dt: float) -> float: ...
469 def p(self) -> array[float]: ...
471 def v(self) -> array[float]: ...
473 def a(self) -> array[float]: ...
497 def pos(self, dt: Iterable[float]) -> array[float]: ...
499 def pos(self, dt: float) -> float: ...
501 def vel(self, dt: Iterable[float]) -> array[float]: ...
503 def vel(self, dt: float) -> float: ...
505 def acc(self, dt: Iterable[float]) -> array[float]: ...
507 def acc(self, dt: float) -> float: ...
509 def p(self) -> array[float]: ...
511 def v(self) -> array[float]: ...
513 def a(self) -> array[float]: ...
541 def pos(self, dt: Iterable[float]) -> array[float]: ...
543 def pos(self, dt: float) -> float: ...
545 def vel(self, dt: Iterable[float]) -> array[float]: ...
547 def vel(self, dt: float) -> float: ...
549 def acc(self, dt: Iterable[float]) -> array[float]: ...
551 def acc(self, dt: float) -> float: ...
553 def jer(self, dt: Iterable[float]) -> array[float]: ...
555 def jer(self, dt: float) -> float: ...
557 def p(self) -> array[float]: ...
559 def v(self) -> array[float]: ...
561 def a(self) -> array[float]: ...
563 def j(self) -> array[float]: ...
577 def pos(self, dt: Iterable[float]) -> array[float]: ...
579 def pos(self, dt: float) -> float: ...
581 def vel(self, dt: Iterable[float]) -> array[float]: ...
583 def vel(self, dt: float) -> float: ...
585 def acc(self, dt: Iterable[float]) -> array[float]: ...
587 def acc(self, dt: float) -> float: ...
589 def t(self) -> float: ...
591 def p0(self) -> float: ...
593 def p1(self) -> float: ...
595 def v0(self) -> float: ...
597 def v1(self) -> float: ...
599 def vc(self) -> float: ...
601 def ta(self) -> float: ...
603 def td(self) -> float: ...
605 def pa(self) -> float: ...
607 def pd(self) -> float: ...
609 def ac(self) -> float: ...
611 def de(self) -> float: ...
615 def check(major: int = 0, minor: int = 0, patch: int = 0) -> int: ...
616 def __init__(self, major: int = 0, minor: int = 0, third: int = 0, extra: int = 0) -> None: ...
617 def compare(self, that: version) -> int: ...
618 def __lt__(self, that: version) -> bool: ...
619 def __gt__(self, that: version) -> bool: ...
620 def __le__(self, that: version) -> bool: ...
621 def __ge__(self, that: version) -> bool: ...
622 def __eq__(self, that: version) -> bool: ...
623 def __ne__(self, that: version) -> bool: ...
624 def parse(self, ver: bytes) -> version: ...
626 def major(self) -> int: ...
628 def major(self, major: int) -> None: ...
630 def minor(self) -> int: ...
632 def minor(self, minor: int) -> None: ...
634 def third(self) -> int: ...
636 def third(self, third: int) -> None: ...
638 def extra(self) -> int: ...
640 def extra(self, extra: int) -> None: ...