ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
tk::internal::band_matrix Class Reference

#include <AtSpline.h>

Public Member Functions

 band_matrix ()
 
 band_matrix (int dim, int n_u, int n_l)
 
 ~band_matrix ()
 
void resize (int dim, int n_u, int n_l)
 
int dim () const
 
int num_upper () const
 
int num_lower () const
 
double & operator() (int i, int j)
 
double operator() (int i, int j) const
 
double & saved_diag (int i)
 
double saved_diag (int i) const
 
void lu_decompose ()
 
std::vector< double > r_solve (const std::vector< double > &b) const
 
std::vector< double > l_solve (const std::vector< double > &b) const
 
std::vector< double > lu_solve (const std::vector< double > &b, bool is_lu_decomposed=false)
 

Detailed Description

Definition at line 143 of file AtSpline.h.

Constructor & Destructor Documentation

◆ band_matrix() [1/2]

tk::internal::band_matrix::band_matrix ( )
inline

Definition at line 148 of file AtSpline.h.

◆ band_matrix() [2/2]

tk::internal::band_matrix::band_matrix ( int  dim,
int  n_u,
int  n_l 
)

Definition at line 461 of file AtSpline.cxx.

◆ ~band_matrix()

tk::internal::band_matrix::~band_matrix ( )
inline

Definition at line 150 of file AtSpline.h.

Member Function Documentation

◆ dim()

int tk::internal::band_matrix::dim ( ) const

Definition at line 479 of file AtSpline.cxx.

◆ l_solve()

std::vector< double > tk::internal::band_matrix::l_solve ( const std::vector< double > &  b) const

Definition at line 560 of file AtSpline.cxx.

◆ lu_decompose()

void tk::internal::band_matrix::lu_decompose ( )

Definition at line 525 of file AtSpline.cxx.

◆ lu_solve()

std::vector< double > tk::internal::band_matrix::lu_solve ( const std::vector< double > &  b,
bool  is_lu_decomposed = false 
)

Definition at line 592 of file AtSpline.cxx.

◆ num_lower()

int tk::internal::band_matrix::num_lower ( ) const
inline

Definition at line 154 of file AtSpline.h.

◆ num_upper()

int tk::internal::band_matrix::num_upper ( ) const
inline

Definition at line 153 of file AtSpline.h.

◆ operator()() [1/2]

double & tk::internal::band_matrix::operator() ( int  i,
int  j 
)

Definition at line 490 of file AtSpline.cxx.

◆ operator()() [2/2]

double tk::internal::band_matrix::operator() ( int  i,
int  j 
) const

Definition at line 501 of file AtSpline.cxx.

◆ r_solve()

std::vector< double > tk::internal::band_matrix::r_solve ( const std::vector< double > &  b) const

Definition at line 576 of file AtSpline.cxx.

◆ resize()

void tk::internal::band_matrix::resize ( int  dim,
int  n_u,
int  n_l 
)

Definition at line 465 of file AtSpline.cxx.

◆ saved_diag() [1/2]

double & tk::internal::band_matrix::saved_diag ( int  i)

Definition at line 518 of file AtSpline.cxx.

◆ saved_diag() [2/2]

double tk::internal::band_matrix::saved_diag ( int  i) const

Definition at line 513 of file AtSpline.cxx.


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