File tree 2 files changed +22
-6
lines changed
2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 1
- from scipy ._typing import Untyped , UntypedArray
1
+ from typing import Final
2
+
3
+ import numpy as np
4
+ import optype .numpy as onp
2
5
3
6
__all__ = ["max_len_seq" ]
4
7
8
+ _mls_taps : Final [dict [int , list [int ]]] = ...
9
+
5
10
def max_len_seq (
6
- nbits : int ,
7
- state : Untyped | None = None ,
8
- length : int | None = None ,
9
- taps : Untyped | None = None ,
10
- ) -> tuple [UntypedArray , UntypedArray ]: ...
11
+ nbits : onp . ToJustInt ,
12
+ state : onp . ToInt1D | None = None ,
13
+ length : onp . ToJustInt | None = None ,
14
+ taps : onp . ToJustInt1D | None = None ,
15
+ ) -> tuple [onp . Array1D [ np . int8 ], onp . Array1D [ np . int8 ] ]: ...
Original file line number Diff line number Diff line change
1
+ import numpy as np
2
+ import optype .numpy as onp
3
+
1
4
__pythran__ : tuple [str , str ] = ...
5
+
6
+ def _max_len_seq_inner (
7
+ taps : onp .Array1D [np .intp ],
8
+ state : onp .Array1D [np .int8 ],
9
+ nbits : int | np .intp ,
10
+ length : int | np .intp ,
11
+ out : onp .Array1D [np .int8 ],
12
+ ) -> onp .Array1D [np .int8 ]: ...
You can’t perform that action at this time.
0 commit comments