IGMPlot: src/include/eig3.h Source File

IGMPlot 3.16 Optimized IGMplot version able to use wfn/wfx/xyz files

Loading...
Searching...
No Matches
eig3.h
Go to the documentation of this file.
1/*
2 * Copyright University of Reims Champagne-Ardenne
3 * Authors and Contributors: Akilan RAJAMANI, Corentin LEFEBVRE, Johanna KLEIN,
4 * Emmanuel PLUOT, Hugo ROUSSEL, Gaetan RUBEZ, Hassan KHARTABIL,
5 * Jean-Charles BOISSON and Eric HENON
6 * (24/07/2017)
7 * jean-charles.boisson@univ-reims.fr, eric.henon@univ-reims.fr
8 *
9 * This software is a computer program whose purpose is to
10 * detect and quantify interactions from electron density
11 * obtained either internally from promolecular density or
12 * calculated from an input wave function input file. It also
13 * prepares for the visualization of isosurfaces representing
14 * several descriptors (dg) coming from the IGM methodology.
15 *
16 * This software is governed by the CeCILL-C license under French law and
17 * abiding by the rules of distribution of free software. You can use,
18 * modify and/ or redistribute the software under the terms of the CeCILL-C
19 * license as circulated by CEA, CNRS and INRIA at the following URL
20 * "http://www.cecill.info".
21 *
22 * As a counterpart to the access to the source code and rights to copy,
23 * modify and redistribute granted by the license, users are provided only
24 * with a limited warranty and the software's author, the holder of the
25 * economic rights, and the successive licensors have only limited
26 * liability.
27 *
28 * In this respect, the user's attention is drawn to the risks associated
29 * with loading, using, modifying and/or developing or reproducing the
30 * software by the user in light of its specific status of free software,
31 * that may mean that it is complicated to manipulate, and that also
32 * therefore means that it is reserved for developers and experienced
33 * professionals having in-depth computer knowledge. Users are therefore
34 * encouraged to load and test the software's suitability as regards their
35 * requirements in conditions enabling the security of their systems and/or
36 * data to be ensured and, more generally, to use and operate it in the
37 * same conditions as regards security.
38 *
39 * The fact that you are presently reading this means that you have had
40 * knowledge of the CeCILL-C license and that you accept its terms.
41 *
42 * */
43
47
48#ifndef _EIG_H_
49#define _EIG_H_
50
51// LOCAL
52//#include <toolbox.h>
53#include <general.h>
54
61double hypot2(double x, double y);
62
69void tred2(double V[3][3], double d[3], double e[3]);
70
77void tql2(double V[3][3], double d[3], double e[3]);
78
86void eigen_decomposition(double** A, double V[3][3], double d[3]);
87
88#endif
eigen_decomposition
void eigen_decomposition(double **A, double V[3][3], double d[3])
Symmetric matrix A => eigenvectors in columns of V, corresponding eigenvalues in d.
Definition eig3.cpp:381
hypot2
double hypot2(double x, double y)
Tool function making hypotenus computation.
Definition eig3.cpp:60
tred2
void tred2(double V[3][3], double d[3], double e[3])
This is derived from the Algol procedures tred2 by Bowdler, Martin, Reinsch, and Wilkinson,...
Definition eig3.cpp:68
tql2
void tql2(double V[3][3], double d[3], double e[3])
This is derived from the Algol procedures tql2, by Bowdler, Martin, Reinsch, and Wilkinson,...
Definition eig3.cpp:206
general.h
all data types and constant data needed by the rest of the program