#include <fvar.hpp>
Go to the source code of this file.
Functions | |
dvector | eigenvalues (const dmatrix &m) |
Eigenvalues. | |
void | get_eigen (const dvector &_d, const dvector &_e, const dmatrix &_z) |
Eigenvalues. | |
dvector | get_eigen_values (const dvector &_d, const dvector &_e) |
Eigenvalues. | |
dvector | get_eigen_values (const dvector &_d, const dvector &_e, const dmatrix &_z) |
Eigenvalues and eigenvectors. | |
double | SIGN (const double x, double y) |
void | tri_dag (const dmatrix &_m, const dvector &_d, const dvector &_e) |
Householder transformation for eigenvalue computation. |
dvector eigenvalues | ( | const dmatrix & | m | ) |
Eigenvalues.
_d | Diagonal elements of the matrix computed by Householder transformation. |
_e | Off-diagonal elements. |
_z | On output contains nothing useful. |
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 11
dvector get_eigen_values | ( | const dvector & | _d, |
const dvector & | _e | ||
) |
Eigenvalues.
_d | Diagonal elements of the matrix computed by Householder transformation. |
_e | Off-diagonal elements. |
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 11
dvector get_eigen_values | ( | const dvector & | _d, |
const dvector & | _e, | ||
const dmatrix & | _z | ||
) |
Eigenvalues and eigenvectors.
_d | Diagonal elements of the matrix computed by Householder transformation. |
_e | Off-diagonal elements. |
_z | On return containses eigenvectors. |
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 11
Householder transformation for eigenvalue computation.
Author: David Fournier Copyright (c) 2009, 2010 ADMB foundation
_m | Real, symmetric matrix; on return contains the orthogonal transformed matrix. |
_d | On return contains the diagonal elements of the tri-diagonal matrix. |
_e | On teturn contains the off-diagonal elements. |
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 11
Generated on Tue Mar 8 2016 19:51:37 for ADMB Documentation by 1.8.0 |