On Fri, Mar 18, 2011 at 17:04, Aaron S. Meurer <asmeu...@gmail.com> wrote:
>
> On Mar 18, 2011, at 11:53 AM, Alexey U. Gudchenko wrote:
>
>>
>> 18.03.2011 19:42, SherjilOzair пишет:
>> > Hi,
>>
>> Good evening.
>>
>> > 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.
>>
>> Where is it?
>>
>>>
>>> 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
>>>
>> Sorry, I can entangle you, but:
>>
>> May be it would be helpful for answering of your questions if the aims of 
>> 'numpy-style array' would be more clear (for me at least, I can't find 
>> issues, aims or description of  'numpy-style array').
>
> The purpose is to implement a basic version of numpy in sympy so that you do 
> not have to install numpy to use the basic array feature.  Since numpy has to 
> be compiled, this will be very useful, since, for example, you can't install 
> it on the Google App Engine.  Therefore, the implementation in SymPy should 
> match the numpy implementation.

That's not very informative. numpy ndarrays have a *lot* of
functionality attached to them. It's a major project, beyond the
capabilities and resources of a single GSoC student, to match *all* of
their functionality. You need to clearly state exactly what features
of numpy ndarrays you want duplicated.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to