ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/math/SquareMatrix.hpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/math/SquareMatrix.hpp (file contents):
Revision 1586 by tim, Sun Oct 17 01:19:11 2004 UTC vs.
Revision 1603 by tim, Tue Oct 19 21:28:55 2004 UTC

# 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 need implementation
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 need implementation
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 implementation */
152          void diagonalize() {
153 <            jacobi(m, eigenValues, ortMat);
153 >            //jacobi(m, eigenValues, ortMat);
154          }
155  
156          /**
# Line 158 | Line 165 | namespace oopse {
165              SquareMatrix<Real, Dim> ortMat;
166              
167              if ( !isSymmetric()){
168 <                throw();
168 >                //throw();
169              }
170              
171              SquareMatrix<Real, Dim> m(*this);
# 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                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines