Skip to content

Commit

Permalink
Complete scipy.fft._realtransforms.dct annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 20, 2024
1 parent ef52113 commit 9588834
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions typings/scipy/fft/_realtransforms.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from _typeshed import Incomplete
from typing import Literal

from numpy import float64, generic
from numpy.typing import NDArray

Expand Down Expand Up @@ -47,13 +48,13 @@ def idstn(
): ...
def dct(
x: NDArray[generic],
type: int = 2,
n: Incomplete | None = None,
type: Literal[1, 2, 3, 4] = 2,
n: int | None = None,
axis: int = -1,
norm: Incomplete | None = None,
norm: Literal["backward", "ortho", "forward"] | None = None,
overwrite_x: bool = False,
workers: Incomplete | None = None,
orthogonalize: Incomplete | None = None,
workers: int | None = None,
orthogonalize: bool | None = None,
) -> NDArray[float64]: ...
def idct(
x,
Expand Down

0 comments on commit 9588834

Please sign in to comment.