mirror of https://github.com/m-labs/artiq.git
manual/compiler: Mention TArray annotation
This commit is contained in:
parent
4c743cf8af
commit
b89610bbcd
|
@ -45,6 +45,8 @@ The Python types correspond to ARTIQ type annotations as follows:
|
||||||
+---------------+-------------------------+
|
+---------------+-------------------------+
|
||||||
| list of T | TList(T) |
|
| list of T | TList(T) |
|
||||||
+---------------+-------------------------+
|
+---------------+-------------------------+
|
||||||
|
| NumPy array | TArray(T, num_dims) |
|
||||||
|
+---------------+-------------------------+
|
||||||
| range | TRange32, TRange64 |
|
| range | TRange32, TRange64 |
|
||||||
+---------------+-------------------------+
|
+---------------+-------------------------+
|
||||||
| numpy.int32 | TInt32 |
|
| numpy.int32 | TInt32 |
|
||||||
|
|
Loading…
Reference in New Issue