You mean 'float64' and all that? I think that that's a completely separable decision from the container class. I think the only decision that an NDArray class would have to make is whether or not to insist on type homogeneity. Other than that it should just hold things, grant convenient access, provide views, etc.... It should probably also implement something like tensor.dot. I think that the actual elementwise computation piece should be parametrized or rely on the `__mul__` attribute of the elements.
Perhaps I didn't understand your question. On Sat, Feb 16, 2013 at 11:43 AM, Aaron Meurer <[email protected]> wrote: > Would we also emulate the dtype API? > > Aaron Meurer > > On Feb 16, 2013, at 12:38 PM, Stefan Krastanov > <[email protected]> wrote: > > > I mostly agree that some kind of ndarray object would be nice. A very > > simple, non-symbolic (i.e. not subclass of Basic) one. It would be > > even better if numpy agrees on some Abstract Base Class that we can > > mimic. > > > > -- > > You received this message because you are subscribed to the Google > Groups "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/sympy?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
