<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
#include "tlapack/base/utils.hpp"
Go to the source code of this file.
Functions | |
template<TLAPACK_MATRIX matrix_t, TLAPACK_VECTOR vector_t, bool > | |
int | tlapack::lahqz_shiftcolumn (const matrix_t &A, const matrix_t &B, vector_t &v, complex_type< type_t< matrix_t > > s1, complex_type< type_t< matrix_t > > s2, type_t< matrix_t > beta1, type_t< matrix_t > beta2) |
Given a 2-by-2 or 3-by-3 matrix pencil (A,B), lahqz_shiftcolumn calculates a multiple of the product: (beta2*A - s2*B)*B^(-1)*(beta1*A - s1*B)*B^(-1)*e1. | |