Hi, I'm working on a small base implementation of numpy-style array for sympy. Currently I've added component-wise addition, subtraction, multiplication, mult by integer. I've uploaded the code on GitHub.
Here are some points of discussion. 1) If unequal-sized arrays are added, should an error be raised or should they still be force-added taking the missing elements as zero ? 2) Multiplication of two linear arrays should give another linear array, with component-wise multiplication ? Or an array of 2-tuples, like one does with Sets ? 3) If using component-wise multiplication, for unequal arrays, should the missing elements be taken as one ? Or should an error be raised ? 4) Power will be done component-wise ? But this depends on the answer to point 2. 5) Any more features ? Thanks, Sherjil Ozair -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
