twodim_base.pyi 859 B

1234567891011121314151617181920212223242526272829303132
  1. from typing import List, Optional, Any
  2. from numpy import ndarray, _OrderCF
  3. from numpy.typing import ArrayLike, DTypeLike
  4. __all__: List[str]
  5. def fliplr(m): ...
  6. def flipud(m): ...
  7. def eye(
  8. N: int,
  9. M: Optional[int] = ...,
  10. k: int = ...,
  11. dtype: DTypeLike = ...,
  12. order: _OrderCF = ...,
  13. *,
  14. like: Optional[ArrayLike] = ...
  15. ) -> ndarray[Any, Any]: ...
  16. def diag(v, k=...): ...
  17. def diagflat(v, k=...): ...
  18. def tri(N, M=..., k=..., dtype = ..., *, like=...): ...
  19. def tril(m, k=...): ...
  20. def triu(m, k=...): ...
  21. def vander(x, N=..., increasing=...): ...
  22. def histogram2d(x, y, bins=..., range=..., normed=..., weights=..., density=...): ...
  23. def mask_indices(n, mask_func, k=...): ...
  24. def tril_indices(n, k=..., m=...): ...
  25. def tril_indices_from(arr, k=...): ...
  26. def triu_indices(n, k=..., m=...): ...
  27. def triu_indices_from(arr, k=...): ...