orix icon indicating copy to clipboard operation
orix copied to clipboard

Reconsidering the overwritten operators

Open pc494 opened this issue 5 years ago • 0 comments

Currently, almost everything that inherits from Object3d has overwritten +,-,* and / but the discussion #138 has suggested that we might want to have a careful think about how these should work.

If we are tabulating, we would expect to do int, float, tuple, list, array and other relevant orix objects, from both left and right.

I think there can't be much debate about that int and float should do the same thing, and tuple and list should be turned into numpy arrays. The main questions seem to come up about how to combine things of different dimensions. If anyone has strong generic preference we can start there, and then in a couple of days I'll see if I can write a summary of what I think would work best.

pc494 avatar Nov 15 '20 19:11 pc494