@{ * The dot product of this and the supplied vector. */
| 105 | * The dot product of this and the supplied vector. |
| 106 | */ |
| 107 | T Dot(const vtkVector<T, Size>& other) const |
| 108 | { |
| 109 | T result(0); |
| 110 | for (int i = 0; i < Size; ++i) |
| 111 | { |
| 112 | result += this->Data[i] * other[i]; |
| 113 | } |
| 114 | return result; |
| 115 | } |
| 116 | ///@} |
| 117 | |
| 118 | ///@{ |
no outgoing calls