# | Line 78 | Line 78 | namespace oopse { | |
---|---|---|
78 | return m; | |
79 | } | |
80 | ||
81 | < | /** Retunrs the inversion of this matrix. */ |
81 | > | /** |
82 | > | * Retunrs the inversion of this matrix. |
83 | > | * @todo |
84 | > | */ |
85 | SquareMatrix<Real, Dim> inverse() { | |
86 | SquareMatrix<Real, Dim> result; | |
87 | ||
88 | return result; | |
89 | } | |
90 | ||
91 | < | /** Returns the determinant of this matrix. */ |
91 | > | /** |
92 | > | * Returns the determinant of this matrix. |
93 | > | * @todo |
94 | > | */ |
95 | double determinant() const { | |
96 | double det; | |
97 | return det; | |
# | Line 142 | Line 148 | namespace oopse { | |
148 | return true; | |
149 | } | |
150 | ||
151 | + | /** @todo need implement */ |
152 | void diagonalize() { | |
153 | < | jacobi(m, eigenValues, ortMat); |
153 | > | //jacobi(m, eigenValues, ortMat); |
154 | } | |
155 | ||
156 | /** | |
# | Line 256 | Line 263 | bool SquareMatrix<Real, Dim>::jacobi(const SquareMatri | |
263 | ||
264 | for (j=iq+1; j<N; j++) | |
265 | ROT(a,ip,j,iq,j); | |
266 | + | |
267 | for (j=0; j<N; j++) | |
268 | ROT(v,j,ip,j,iq); | |
269 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |