Dag Sverre Seljebotn wrote: > 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. > > 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.)
Ah, so all you really want is a SIMD data type, right? And I guess that's how things work in Fortran? Stefan _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev