1 x 1 symmetric matrix  
 More...
#include <JMatrix1S.hh>
1 x 1 symmetric matrix 
Definition at line 26 of file JMatrix1S.hh.
 
◆ JMatrix1S() [1/3]
  
  
      
        
          | JMATH::JMatrix1S::JMatrix1S  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JMatrix1S() [2/3]
  
  
      
        
          | JMATH::JMatrix1S::JMatrix1S  | 
          ( | 
          const JMatrix1D &  | 
          A | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JMatrix1S() [3/3]
  
  
      
        
          | JMATH::JMatrix1S::JMatrix1S  | 
          ( | 
          const double  | 
          __a00 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ invert()
  
  
      
        
          | void JMATH::JMatrix1S::invert  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Invert matrix. 
Definition at line 61 of file JMatrix1S.hh.
   64         throw JDivisionByZero(
"LDU decomposition zero pivot");
 
 
 
 
◆ getInstance()
  
  
      
        
          | static const JMatrix1D& JMATH::JMatrix1D::getInstance  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestaticinherited   | 
  
 
Get reference to unique instance of this class object. 
- Returns
 - zero matrix 
 
Definition at line 64 of file JMatrix1D.hh.
 
 
◆ setIdentity()
Set to identity matrix. 
- Returns
 - this matrix 
 
Definition at line 77 of file JMatrix1D.hh.
 
 
◆ getIdentity()
  
  
      
        
          | static const JMatrix1D& JMATH::JMatrix1D::getIdentity  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestaticinherited   | 
  
 
Get reference to unique instance of this class object. 
- Returns
 - identity matrix 
 
Definition at line 90 of file JMatrix1D.hh.
 
 
◆ set()
  
  
      
        
          | void JMATH::JMatrix1D::set  | 
          ( | 
          const JMatrix1D &  | 
          A | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Set matrix. 
- Parameters
 - 
  
  
 
Definition at line 103 of file JMatrix1D.hh.
  105       static_cast<JMatrix1D&>(*
this) = A;
 
 
 
 
◆ reset()
Set matrix to the null matrix. 
- Returns
 - this matrix 
 
Definition at line 114 of file JMatrix1D.hh.
 
 
◆ transpose()
◆ negate()
Negate matrix. 
- Returns
 - -this matrix 
 
Definition at line 138 of file JMatrix1D.hh.
 
 
◆ add()
Matrix addition. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix + A 
 
Definition at line 152 of file JMatrix1D.hh.
 
 
◆ sub()
Matrix subtraction. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix - A 
 
Definition at line 166 of file JMatrix1D.hh.
 
 
◆ mul() [1/3]
  
  
      
        
          | JMatrix1D& JMATH::JMatrix1D::mul  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Scale matrix. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix * factor 
 
Definition at line 180 of file JMatrix1D.hh.
 
 
◆ mul() [2/3]
Matrix multiplication. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix 
 
Definition at line 209 of file JMatrix1D.hh.
 
 
◆ mul() [3/3]
Multiply with object. 
- Parameters
 - 
  
  
 
- Returns
 - result object 
 
Definition at line 273 of file JMath.hh.
 
 
◆ div()
  
  
      
        
          | JMatrix1D& JMATH::JMatrix1D::div  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Scale matrix. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix / factor 
 
Definition at line 194 of file JMatrix1D.hh.
 
 
◆ equals()
  
  
      
        
          | bool JMATH::JMatrix1D::equals  | 
          ( | 
          const JMatrix1D &  | 
          A,  | 
         
        
           | 
           | 
          const double  | 
          eps = std::numeric_limits<double>::min()  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inlineinherited   | 
  
 
Equality. 
- Parameters
 - 
  
    | A | matrix  | 
    | eps | numerical precision  | 
  
   
- Returns
 - true if matrices identical; else false 
 
Definition at line 225 of file JMatrix1D.hh.
  228       return (fabs(
a00 - A.
a00) <= eps);
 
 
 
 
◆ isIdentity()
  
  
      
        
          | bool JMATH::JMatrix1D::isIdentity  | 
          ( | 
          const double  | 
          eps = std::numeric_limits<double>::min() | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Test identity. 
- Parameters
 - 
  
  
 
- Returns
 - true if identity matrix; else false 
 
Definition at line 238 of file JMatrix1D.hh.
 
 
◆ getDeterminant()
  
  
      
        
          | double JMATH::JMatrix1D::getDeterminant  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get determinant of matrix. 
- Returns
 - determinant of matrix 
 
Definition at line 249 of file JMatrix1D.hh.
 
 
◆ transform()
  
  
      
        
          | void JMATH::JMatrix1D::transform  | 
          ( | 
          double &  | 
          __x | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ a00
  
  
      
        
          | double JMATH::JMatrix1D::a00 | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this class was generated from the following file: