<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
Go to the source code of this file.
Functions | |
template<TLAPACK_MATRIX A_t, TLAPACK_MATRIX B_t, TLAPACK_SCALAR T> | |
void | tlapack::lahqz_eig22 (const A_t &A, const B_t &B, complex_type< T > &alpha1, complex_type< T > &alpha2, T &beta1, T &beta2) |
Computes the generalized eigenvalues of a 2x2 pencil (A,B) with B upper triangular. | |
void tlapack::lahqz_eig22 | ( | const A_t & | A, |
const B_t & | B, | ||
complex_type< T > & | alpha1, | ||
complex_type< T > & | alpha2, | ||
T & | beta1, | ||
T & | beta2 | ||
) |
Computes the generalized eigenvalues of a 2x2 pencil (A,B) with B upper triangular.
Note: in LAPACK, this function is quite complicated, taking a lot of overflow conditions into account. I still need to translate that functionality.
[in] | A | 2x2 matrix |
[in] | B | 2x2 upper triangular matrix |
[out] | alpha1 | complex number |
[out] | alpha2 | complex number |
[out] | beta1 | number |
[out] | beta2 | number On exit, (alpha1, beta1), (alpha2, beta2) are the generalized eigenvalues of the pencil (A,B) |