<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
laev2.hpp File Reference
Include dependency graph for laev2.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<TLAPACK_SCALAR T>
void tlapack::laev2 (T a, T b, T c, T &s1, T &s2, T &cs, T &sn)
 Computes the eigenvalues and eigenvector of a real symmetric 2x2 matrix A [ a b ] [ b c ] On exit, the decomposition satisfies: [ cs sn ] [ a b ] [ cs -sn ] = [ s1 0 ] [ -sn cs ] [ b c ] [ sn cs ] [ 0 s2 ] where cs*cs + sn*sn = 1.
 

Detailed Description

Author
Thijs Steel, KU Leuven, Belgium