We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
numpy.random._common
1 parent 2fd2491 commit 1e9efbfCopy full SHA for 1e9efbf
numpy/random/_common.pyi
@@ -0,0 +1,16 @@
1
+from collections.abc import Callable
2
+from typing import Any, NamedTuple, TypeAlias
3
+
4
+import numpy as np
5
6
+__all__: list[str] = ["interface"]
7
8
+_CDataVoidPointer: TypeAlias = Any
9
10
+class interface(NamedTuple):
11
+ state_address: int
12
+ state: _CDataVoidPointer
13
+ next_uint64: Callable[..., np.uint64]
14
+ next_uint32: Callable[..., np.uint32]
15
+ next_double: Callable[..., np.float64]
16
+ bit_generator: _CDataVoidPointer
0 commit comments