Jacobi.h File Reference
#include <memory>
#include <GfxTL/Array.h>
#include <GfxTL/MathHelper.h>
#include <GfxTL/MatrixXX.h>
#include <GfxTL/VectorXD.h>
+ Include dependency graph for Jacobi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  GfxTL
 

Macros

#define __GfxTL_JACOBI_ROTATE(a, i, j, k, l)
 

Functions

template<class IteratorT, class VectorT>
void EigSortDesc (VectorT *d, Array< 2, IteratorT > *v)
 
template<unsigned int N, class T>
void EigSortDesc (VectorXD< N, T > *d, MatrixXX< N, N, T > *v)
 
template<class IteratorT, class VectorT>
bool Jacobi (Array< 2, IteratorT > *a, VectorT *d, Array< 2, IteratorT > *v, int *nrot=NULL)
 
template<unsigned int N, class T>
bool Jacobi (const MatrixXX< N, N, T > &m, VectorXD< N, T > *d, MatrixXX< N, N, T > *v, int *nrot=NULL)
 

Macro Definition Documentation

◆ __GfxTL_JACOBI_ROTATE

#define __GfxTL_JACOBI_ROTATE ( a,
i,
j,
k,
l )
Value:
g = (a)[j][i]; \
h = (a)[l][k]; \
(a)[j][i] = g - s * (h + g * tau); \
(a)[l][k] = h + s * (g - h * tau);

Definition at line 16 of file Jacobi.h.