--- branches/development/src/math/SquareMatrix.hpp 2012/08/29 18:13:11 1787 +++ branches/development/src/math/SquareMatrix.hpp 2013/02/20 15:39:39 1850 @@ -35,7 +35,7 @@ * * [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). * [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). - * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). + * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). * [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). * [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). */ @@ -57,8 +57,8 @@ namespace OpenMD { /** * @class SquareMatrix SquareMatrix.hpp "math/SquareMatrix.hpp" * @brief A square matrix class - * @template Real the element type - * @template Dim the dimension of the square matrix + * \tparam Real the element type + * \tparam Dim the dimension of the square matrix */ template class SquareMatrix : public RectMatrix { @@ -125,7 +125,7 @@ namespace OpenMD { Real det; return det; } - + /** Returns the trace of this matrix. */ Real trace() const { Real tmp = 0; @@ -154,6 +154,7 @@ namespace OpenMD { return tmp; } + /** Tests if this matrix is symmetrix. */ bool isSymmetric() const { for (unsigned int i = 0; i < Dim - 1; i++) @@ -231,7 +232,7 @@ namespace OpenMD { * @return true if success, otherwise return false * @param a symmetric matrix whose eigenvectors are to be computed. On return, the matrix is * overwritten - * @param w will contain the eigenvalues of the matrix On return of this function + * @param d will contain the eigenvalues of the matrix On return of this function * @param v the columns of this matrix will contain the eigenvectors. The eigenvectors are * normalized and mutually orthogonal. */