felixchenier / NextWheel

Apache License 2.0
0 stars 0 forks source link

Python module: move from int and Tuple[int] to NumPy arrays #16

Closed felixchenier closed 11 months ago

felixchenier commented 1 year ago

At the moment, NumPy is a requirement and is loaded, but we don't make use of it everywhere it could help. For instance, instead of having a conversion function that work for one int, and another that generalizes to a tuple of ints, it would be cleaner and probably not slower to use one generic function that works with any number or numpy array.