Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Decompose_LUP_Cmplx Class Reference

#include <decompose_LUP_Cmplx.h>

Public Member Functions

 Decompose_LUP_Cmplx (size_t N)
 
void set_matrix (const double *mat)
 
void solve (double *vec)
 
void get_inverse (double *mat_inv)
 
void mult_inverse (double *mat)
 
dcomplex determinant ()
 

Private Member Functions

size_t re (int i, int j)
 
size_t im (int i, int j)
 
size_t re (int i)
 
size_t im (int i)
 

Private Attributes

int N
 
int N2
 
int size
 
std::valarray< double > m_lu
 
std::valarray< int > m_pivot
 
int m_sign
 

Detailed Description

Definition at line 25 of file decompose_LUP_Cmplx.h.

Constructor & Destructor Documentation

Decompose_LUP_Cmplx::Decompose_LUP_Cmplx ( size_t  N)
inline

Definition at line 28 of file decompose_LUP_Cmplx.h.

Member Function Documentation

dcomplex Decompose_LUP_Cmplx::determinant ( )

Definition at line 185 of file decompose_LUP_Cmplx.cpp.

void Decompose_LUP_Cmplx::get_inverse ( double *  mat_inv)

Definition at line 126 of file decompose_LUP_Cmplx.cpp.

size_t Decompose_LUP_Cmplx::im ( int  i,
int  j 
)
inlineprivate

Definition at line 62 of file decompose_LUP_Cmplx.h.

size_t Decompose_LUP_Cmplx::im ( int  i)
inlineprivate

Definition at line 72 of file decompose_LUP_Cmplx.h.

void Decompose_LUP_Cmplx::mult_inverse ( double *  mat)

Definition at line 140 of file decompose_LUP_Cmplx.cpp.

size_t Decompose_LUP_Cmplx::re ( int  i,
int  j 
)
inlineprivate

Definition at line 57 of file decompose_LUP_Cmplx.h.

size_t Decompose_LUP_Cmplx::re ( int  i)
inlineprivate

Definition at line 67 of file decompose_LUP_Cmplx.h.

void Decompose_LUP_Cmplx::set_matrix ( const double *  mat)

Definition at line 17 of file decompose_LUP_Cmplx.cpp.

void Decompose_LUP_Cmplx::solve ( double *  vec)

Definition at line 93 of file decompose_LUP_Cmplx.cpp.

Member Data Documentation

std::valarray<double> Decompose_LUP_Cmplx::m_lu
private

Definition at line 49 of file decompose_LUP_Cmplx.h.

std::valarray<int> Decompose_LUP_Cmplx::m_pivot
private

Definition at line 51 of file decompose_LUP_Cmplx.h.

int Decompose_LUP_Cmplx::m_sign
private

Definition at line 55 of file decompose_LUP_Cmplx.h.

int Decompose_LUP_Cmplx::N
private

Definition at line 46 of file decompose_LUP_Cmplx.h.

int Decompose_LUP_Cmplx::N2
private

Definition at line 47 of file decompose_LUP_Cmplx.h.

int Decompose_LUP_Cmplx::size
private

Definition at line 48 of file decompose_LUP_Cmplx.h.


The documentation for this class was generated from the following files: