Auxiliary class for matrix decomposition.  
 More...
#include <JMatrixND.hh>
Auxiliary class for matrix decomposition. 
Definition at line 547 of file JMatrixND.hh.
 
◆ matrix_type
◆ const_row_type
◆ const_col_type
◆ row_type
◆ col_type
◆ data_type
◆ set()
Set matrix helper. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix helper 
 
Definition at line 557 of file JMatrixND.hh.
  559         static_cast<JMatrixND_t&>(*
this) = A;
 
 
 
 
◆ decompose()
  
  
      
        
          | void JMATH::JMatrixND::JMatrixHelper::decompose  | 
          ( | 
          const JMatrixND &  | 
          A | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
LU decomposition. 
- Parameters
 - 
  
  
 
Definition at line 570 of file JMatrixND.hh.
  583         for (root = this->begin(), k = 0; root != this->end(); ++root, ++k) {
 
  590           for (row = root; ++row != this->end(); ) {
 
  591             if (fabs((*row)[k]) > fabs(val)) {
 
  598             throw JDivisionByZero(
"LU decomposition zero pivot");
 
  603             iter_swap(root, pivot);
 
  611           for (row = root; ++row != this->end(); ) {
 
  613             del = (*row)[k] /= val;
 
  615             for (col = row->begin() + k, cursor = root->begin() + k; ++col != row->end(); )
 
  616               (*col) -= del * (*(++cursor));
 
 
 
 
◆ getSign()
  
  
      
        
          | int JMATH::JMatrixND::JMatrixHelper::getSign  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get sign corresponding to permutation matrix. 
Definition at line 625 of file JMatrixND.hh.
 
 
◆ getInstance()
Get unique instance of template class. 
- Returns
 - object 
 
Definition at line 27 of file JSingleton.hh.
 
 
◆ sign
  
  
      
        
          | int JMATH::JMatrixND::JMatrixHelper::sign | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this struct was generated from the following file: