1 x 1 matrix  
 More...
#include <JMatrix1D.hh>
1 x 1 matrix 
Definition at line 32 of file JMatrix1D.hh.
 
  
  
      
        
          | JMATH::JMatrix1D::JMatrix1D  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | JMATH::JMatrix1D::JMatrix1D  | 
          ( | 
          const double  | 
          __a00 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | static const JMatrix1D& JMATH::JMatrix1D::getInstance  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Get reference to unique instance of this class object. 
- Returns
 - zero matrix 
 
Definition at line 64 of file JMatrix1D.hh.
 
 
Set to identity matrix. 
- Returns
 - this matrix 
 
Definition at line 77 of file JMatrix1D.hh.
 
 
  
  
      
        
          | static const JMatrix1D& JMATH::JMatrix1D::getIdentity  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Get reference to unique instance of this class object. 
- Returns
 - identity matrix 
 
Definition at line 90 of file JMatrix1D.hh.
JMatrix1D()
Default constructor. 
 
JMatrix1D & setIdentity()
Set to identity matrix. 
 
 
 
 
  
  
      
        
          | void JMATH::JMatrix1D::set  | 
          ( | 
          const JMatrix1D &  | 
          A | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set matrix. 
- Parameters
 - 
  
  
 
Definition at line 103 of file JMatrix1D.hh.
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
 
 
 
 
Set matrix to the null matrix. 
- Returns
 - this matrix 
 
Definition at line 114 of file JMatrix1D.hh.
JMatrix1D()
Default constructor. 
 
 
 
 
Negate matrix. 
- Returns
 - -this matrix 
 
Definition at line 138 of file JMatrix1D.hh.
 
 
Matrix addition. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix + A 
 
Definition at line 152 of file JMatrix1D.hh.
 
 
Matrix subtraction. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix - A 
 
Definition at line 166 of file JMatrix1D.hh.
 
 
  
  
      
        
          | JMatrix1D& JMATH::JMatrix1D::mul  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Scale matrix. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix * factor 
 
Definition at line 180 of file JMatrix1D.hh.
 
 
  
  
      
        
          | JMatrix1D& JMATH::JMatrix1D::div  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Scale matrix. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix / factor 
 
Definition at line 194 of file JMatrix1D.hh.
 
 
Matrix multiplication. 
- Parameters
 - 
  
  
 
- Returns
 - this matrix 
 
Definition at line 209 of file JMatrix1D.hh.
 
 
  
  
      
        
          | bool JMATH::JMatrix1D::equals  | 
          ( | 
          const JMatrix1D &  | 
          A,  | 
         
        
           | 
           | 
          const double  | 
          eps = std::numeric_limits<double>::min()  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
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);
 
 
 
 
  
  
      
        
          | bool JMATH::JMatrix1D::isIdentity  | 
          ( | 
          const double  | 
          eps = std::numeric_limits<double>::min() | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Test identity. 
- Parameters
 - 
  
  
 
- Returns
 - true if identity matrix; else false 
 
Definition at line 238 of file JMatrix1D.hh.
static const JMatrix1D & getIdentity()
Get reference to unique instance of this class object. 
 
bool equals(const JMatrix1D &A, const double eps=std::numeric_limits< double >::min()) const 
Equality. 
 
 
 
 
  
  
      
        
          | double JMATH::JMatrix1D::getDeterminant  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get determinant of matrix. 
- Returns
 - determinant of matrix 
 
Definition at line 249 of file JMatrix1D.hh.
 
 
  
  
      
        
          | void JMATH::JMatrix1D::transform  | 
          ( | 
          double &  | 
          __x | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
Multiply with object. 
- Parameters
 - 
  
  
 
- Returns
 - result object 
 
Definition at line 357 of file JMath.hh.
Auxiliary class for arithmetic operations on objects. 
 
 
 
 
Read matrix from input. 
- Parameters
 - 
  
  
 
- Returns
 - reader 
 
Definition at line 273 of file JMatrix1D.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
Write matrix to output. 
- Parameters
 - 
  
  
 
- Returns
 - writer 
 
Definition at line 288 of file JMatrix1D.hh.
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JMatrix1D &  | 
          A  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Print ASCII formatted output. 
- Parameters
 - 
  
  
 
- Returns
 - output stream 
 
Definition at line 303 of file JMatrix1D.hh.
  307       const JFormat format(out, getFormat<JMatrix1D>(
JFormat_t(10, 3, std::ios::fixed | std::ios::showpos)));
 
  309       out << format << A.
a00 << endl;
 
 
 
 
      
        
          | double JMATH::JMatrix1D::a00 | 
        
      
 
 
The documentation for this class was generated from the following file: