I never keep a promise to shut up... Stefan Behnel wrote: > Honestly, what's so bad about making the vector type explicit? Even > > Vector[int[:]] > or > Vector(int[:]) > > are better than a hard to read "cwise".
Being very concrete, the word Vector is not something I normally use in this situation and I would really prefer to keep it that way. If a is a "vector", I expect linear algebra behaviour -- "a.T * a" is a scalar and so on. E.g. Sage has a Vector type with the mathematical meaning of the word vector. Cython code in Sage dealing with efficient numerical linear algebra could probably look quite horrible as a result if the word vector was chosen. In every other programming language I know about with componentwise operations, the word "array" is used. "vector" is something you Coder People try to force down on us Numericals :-) (I know that the word is used like this in CS circles, but I prefer only using the word in contexts where the meaning is crystal clear (as in "vectorized operations") myself.) -- Dag Sverre _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev