| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
matrix_eigen.h
Go to the documentation of this file.
1
8 #include <stdio.h>
9 #include "Vector3.h"
10
11 // Function prototypes
12 int jacobian_rotation(int n, double *a, double* d, double *v);
13 void eigen_sort(int n, double* d, double *v);
14 Vector3<float> principal_axes(Vector3<float> avg, Vector3<float> avg2, Vector3<float> avgx, Vector3<float>* eigenvec);
Vector3< float >
eigen_sort
void eigen_sort(int n, double *d, double *v)
Sorts eigenvalues into descending order and rearranges matrix columns accordingly.
Definition: matrix_eigen.cpp:149
jacobian_rotation
int jacobian_rotation(int n, double *a, double *d, double *v)
Computes all eigenvalues and eigenvectors of a real symmetric matrix.
Definition: matrix_eigen.cpp:40
Vector3.h
Class for 3-value vectors.
principal_axes
Vector3< float > principal_axes(Vector3< float > avg, Vector3< float > avg2, Vector3< float > avgx, Vector3< float > *eigenvec)
Calculates the principal axes of 3D coordinates.
Definition: matrix_eigen.cpp:182