ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
dmat12.cpp File Reference

(Last Changed on July 27, 2017 for git-revision 2532d5bdff43326075a17ebda185acb029f101f3.)

#include <fvar.hpp>

Go to the source code of this file.

Functions

dmatrix symmetrize (const dmatrix &matrix)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 

Function Documentation

dmatrix symmetrize ( const dmatrix matrix)

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Returns symmetric matrix by averaging the elements upper and lower triangles in matrix. So, results(i, j) and results(j, i) are equal to (matrix(i, j) + matrix(j, i)) / 2. Note: Requires that matrix is square.

Parameters
mdmatrix

Definition at line 14 of file dmat12.cpp.

Referenced by eigenvalues(), eigenvectors(), and function_minimizer::random_effects_maximization().