mirror of https://github.com/m-labs/artiq.git
manual/compiler: Mention TArray annotation
This commit is contained in:
parent
040aa6fd9d
commit
65f0951f1a
|
@ -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