Gyselalib++
 
Loading...
Searching...
No Matches
Matrix Class Referenceabstract
Inheritance diagram for Matrix:
Matrix_Banded Matrix_Corner_Block Matrix_Dense Matrix_PDS_Tridiag Matrix_Center_Block Matrix_Periodic_Banded

Public Member Functions

 Matrix (int mat_size)
 
virtual double get_element (int i, int j) const =0
 
virtual void set_element (int i, int j, double aij)=0
 
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
 

Static Public Member Functions

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)
 

Protected Member Functions

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

Protected Attributes

int const n
 

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