Go to the documentation of this file.
14 Q_ASSERT( other.
size() ==
v.size() );
16 for (
int i = 0; i <
v.size(); i++ )
22 for (
int i = 0; i <
v.size(); i++ )
28 Q_ASSERT( other.
size() ==
v.size() );
32 for (
int i = 0; i <
v.size(); i++ )
33 value +=
v[ i ] * other[ i ];
40 Q_ASSERT( other.
size() ==
v.size() );
42 for (
int i = 0; i <
v.size(); i++ )
48 for (
int i = 0; i <
v.size(); i++ )
54 Q_ASSERT( other.
size() ==
v.size() );
57 for (
int i = 0; i <
v.size(); i++ )
58 value +=
sq(
v[ i ] - other[ i ] );
67 for (
int i = 0; i <
v.size(); i++ )
68 value +=
sq(
v[ i ] );