Gyselalib++
 
Loading...
Searching...
No Matches
Matrix_Banded Class Reference
Inheritance diagram for Matrix_Banded:
Matrix

Public Member Functions

 Matrix_Banded (int n, int kl, int ku)
 
virtual double get_element (int i, int j) const override
 
virtual void set_element (int i, int j, double a_ij) override
 
- Public Member Functions inherited from Matrix
 Matrix (int mat_size)
 
virtual void factorize ()
 
virtual DSpan1D solve_inplace (DSpan1D b) const
 
virtual DSpan1D solve_transpose_inplace (DSpan1D b) const
 
virtual DSpan2D solve_multiple_inplace (DSpan2D bx) const
 
int get_size () const
 

Protected Member Functions

virtual int factorize_method () override
 
virtual int solve_inplace_method (double *b, char transpose, int n_equations) const override
 

Protected Attributes

int const kl
 
int const ku
 
int const c
 
std::unique_ptr< int[]> ipiv
 
std::unique_ptr< double[]> q
 
- Protected Attributes inherited from Matrix
int const n
 

Additional Inherited Members

- Static Public Member Functions inherited from Matrix
static std::unique_ptr< Matrixmake_new_banded (int n, int kl, int ku, bool pds)
 
static std::unique_ptr< Matrixmake_new_periodic_banded (int n, int kl, int ku, bool pds)
 
static std::unique_ptr< Matrixmake_new_block_with_banded_region (int n, int kl, int ku, bool pds, int block1_size, int block2_size=0)
 

Member Function Documentation

◆ get_element()

virtual double Matrix_Banded::get_element ( int  i,
int  j 
) const
overridevirtual

Implements Matrix.

◆ set_element()

virtual void Matrix_Banded::set_element ( int  i,
int  j,
double  a_ij 
)
overridevirtual

Implements Matrix.

◆ factorize_method()

virtual int Matrix_Banded::factorize_method ( )
overrideprotectedvirtual

Implements Matrix.

◆ solve_inplace_method()

virtual int Matrix_Banded::solve_inplace_method ( double *  b,
char  transpose,
int  n_equations 
) const
overrideprotectedvirtual

Implements Matrix.


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