Bartlomiej Golenko <bartek@[EMAIL PROTECTED]
> writes:
>> Vector operator+(const Vector &left, const Vector &right) {
>Its pure evil. Consider this:
>myNewVect = someVect * someOtherVect;
This is not what Daniel wrote. He used »+«.
>What kind of product is it ?
>- inner product ?
No. The inner product is a scalar, not a new vector as above.
>- tensor product ?
No. The tensor product of two vectors is a tensor, not a vector.
(A tensor also is a vector, but of another space.)
>- cross product ?
Possible, but unlikely, because this only is defined in certain
vector spaces, for example, in R³, but not R4.
>- carthesian product ?
No. There is no »carthesian product« and there is no
»cartesian product« of vectors.
>The fact that YOU know exactly how did you overload operator* does
>not necessarily mean everyone else does as well.
Showing your admiration of someone by addressing him in
uppercase (as in »hallowed be Thy name«) is not usual in
technical newsgroups.
Daniel used »+«. /You/ were the one who started to use »*«.


|