Fawkes API Fawkes Development Version
eig3.h
1
2/***************************************************************************
3 * eig3.h: Eigen decomposition code for symmetric 3x3 matrices
4 *
5 * Created: Thu May 24 18:38:24 2012
6 * Copyright 2000 Brian Gerkey
7 * 2000 Kasper Stoy
8 * 2012 Tim Niemueller [www.niemueller.de]
9 ****************************************************************************/
10
11/* This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Library General Public License for more details.
20 *
21 * Read the full text in the LICENSE.GPL file in the doc directory.
22 */
23
24/* Eigen-decomposition for symmetric 3x3 real matrices.
25 Public domain, copied from the public domain Java library JAMA. */
26
27#ifndef _eig_h
28
29/* Symmetric matrix A => eigenvectors in columns of V, corresponding
30 eigenvalues in d. */
31void eigen_decomposition(double A[3][3], double V[3][3], double d[3]);
32
33#endif