manual/compiler: Mention TArray annotation

This commit is contained in:
David Nadlinger 2021-05-24 11:50:10 +01:00
parent 4c743cf8af
commit b89610bbcd
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 |