-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List operations now "array manipulations" #8
Comments
yes, it is what needed for redux. try to make system on math. Power side of sverchok will rise. And yes, naming was ugly, agree. |
if we use numpy for vertices and edges maybe, than polygons could be python lists still. than no need to make two-three arrays. or as case - for polygons only accept array data and arrays to slice... than many problems just disappear... verticis will still be [[[xyz]]], or deeper. vectorswill be [[[(x1y1z1)(x2y2z2)]]] and deeper. what object will be than? python object is object defined now in sverchok in level 1: |
we immediately lose the benefit of the numpy speed by mixing numpy with python lists |
than we need per object one array for vectors and vertices, but flat masking arrays for polygons... thats it. They are different and we ease life with as i writed upper. |
To use Numpy we much step away from explicit Lists, and their exposure to the user. The only way to get speed from numpy is start from the point of an np.array and traverse the whole tree via 'representations' (views of the array) or flat copies.
I'm eager to get away from the superficial split in the current
List basic
andList interfere
, it's not clear what criteria is used to give them that categorization (if I find that difficult, i can only imagine users being equally baffled).We can with relative ease make fewer Nodes to operate on np.arrays, yet also implement all powerful np.array features . Some np.array functions are analogue to combining several of our old list nodes. I expect this to be easy to prove once we have a few nodes working.
The text was updated successfully, but these errors were encountered: