Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iskandr/ndtypes
Types for describing n-dimensional arrays and index expressions
https://github.com/iskandr/ndtypes
Last synced: 23 days ago
JSON representation
Types for describing n-dimensional arrays and index expressions
- Host: GitHub
- URL: https://github.com/iskandr/ndtypes
- Owner: iskandr
- License: other
- Created: 2013-07-07T05:41:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-10T18:19:00.000Z (over 11 years ago)
- Last Synced: 2024-10-15T20:25:31.325Z (2 months ago)
- Language: Python
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ndtypes
========Types for array-oriented domain-specific languages embedded in Python. Includes n-dimensional arrays, their scalar elements, and for index expressions: tuples, slices, and None.
Factored out of Parakeet, excluding function and closure types.
```
ScalarType = int8 ... int64 | uint8 ... uint64 | float32 | float64 | bool
ArrayType = Array(ScalarType, rank), where rank is an integer >= 1
Type = ScalarType | ArrayType | Tuple(Type+) | Slice | None
```