14 #ifndef DECOMPOSE_QR_CMPLX_INCLUDED
15 #define DECOMPOSE_QR_CMPLX_INCLUDED
37 void get_R(
double *mat);
38 void solve(
double *vec);
41 void get_Q(
double *mat);
51 std::valarray<double>
m_qr;
55 inline size_t re(
const size_t i,
const size_t j)
57 return N2 * i + 2 * j;
60 inline size_t im(
const size_t i,
const size_t j)
62 return N2 * i + 2 * j + 1;
66 inline size_t re(
const size_t i)
71 inline size_t im(
const size_t i)
Decompose_QR_Cmplx(const size_t &Nin)
size_t re(const size_t i)
size_t re(const size_t i, const size_t j)
std::valarray< double > m_tau
void mult_inverse(double *mat)
size_t im(const size_t i, const size_t j)
void set_matrix(const double *mat)
std::valarray< double > m_qr
void get_inverse(double *mat)
size_t im(const size_t i)