@{ * Get the squared norm of the vector. */
| 51 | * Get the squared norm of the vector. |
| 52 | */ |
| 53 | T SquaredNorm() const |
| 54 | { |
| 55 | T result = 0; |
| 56 | for (int i = 0; i < Size; ++i) |
| 57 | { |
| 58 | result += this->Data[i] * this->Data[i]; |
| 59 | } |
| 60 | return result; |
| 61 | } |
| 62 | ///@} |
| 63 | |
| 64 | /** |
no outgoing calls
no test coverage detected