kecnry / nparray

High-Level Wrappers for Building and Manipulating Numpy Arrays
https://nparray.readthedocs.io
GNU General Public License v3.0
0 stars 0 forks source link

type and value checking #2

Closed kecnry closed 7 years ago

kecnry commented 7 years ago

for example, num in linspace must be an integer. We can cast to integer on init, but not when setting via the attribute. It would be nice if we could at least define "types" for each of the descriptors and maybe some logic (ie. to make sure stop > step).