manual/compiler: Mention TArray annotation

This commit is contained in:
David Nadlinger 2021-05-24 11:50:10 +01:00 committed by Sebastien Bourdeauducq
parent 040aa6fd9d
commit 65f0951f1a
1 changed files with 2 additions and 0 deletions

View File

@ -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 |