1158:35ceb74fe53e | 1159:6ad8cdcd88d9 |
---|---|
50 break; | 50 break; |
51 } | 51 } |
52 } | 52 } |
53 | 53 |
54 /* | 54 /* |
55 * Prints the matrix out. | |
56 */ | |
57 void Matrix::dump() const | |
58 { | |
59 for (int i = 0; i < 3; ++i) | |
60 { | |
61 for (int j = 0; j < 3; ++j) | |
62 print ("%1\t", m_values[i * 3 + j]); | |
63 | |
64 print ("\n"); | |
65 } | |
66 } | |
67 | |
68 /* | |
69 * Returns a string representation of the matrix | 55 * Returns a string representation of the matrix |
70 */ | 56 */ |
71 QString Matrix::toString() const | 57 QString Matrix::toString() const |
72 { | 58 { |
73 QString val; | 59 QString val; |