14 #ifndef DECOMPOSE_LUP_CMPLX_INCLUDED
15 #define DECOMPOSE_LUP_CMPLX_INCLUDED
34 void solve(
double *vec);
49 std::valarray<double>
m_lu;
57 inline size_t re(
int i,
int j)
59 return N2 * i + 2 * j;
62 inline size_t im(
int i,
int j)
64 return N2 * i + 2 * j + 1;
67 inline size_t re(
int i)
72 inline size_t im(
int i)
void mult_inverse(double *mat)
Decompose_LUP_Cmplx(size_t N)
std::valarray< int > m_pivot
void get_inverse(double *mat_inv)
void set_matrix(const double *mat)
std::valarray< double > m_lu