Nx1 matrix.  
 More...
#include <JVectorND.hh>
Nx1 matrix. 
Definition at line 21 of file JVectorND.hh.
 
  
  
      
        
          | JMATH::JVectorND::JVectorND  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | JMATH::JVectorND::JVectorND  | 
          ( | 
          size_t  | 
          size | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | double JMATH::JVectorND::getDot  | 
          ( | 
          const JVectorND &  | 
          vector | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get dot product. 
- Parameters
 - 
  
  
 
- Returns
 - dot product 
 
Definition at line 48 of file JVectorND.hh.
   52       const double* p = this-> 
data();
 
   53       const double* q = vector.data();
 
   55       for (
size_t i = this->size(); 
i != 0; --
i, ++p, ++q) {
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JVectorND &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Print ASCII formatted output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | Nx1 matrix  | 
  
   
- Returns
 - output stream 
 
Definition at line 70 of file JVectorND.hh.
   74       const JFormat format(out, getFormat<JVectorND>(
JFormat_t(9, 3, std::ios::fixed | std::ios::showpos)));
 
   76       for (JVectorND::const_iterator 
i = 
object.begin(); 
i != 
object.end(); ++
i) {
 
   77         out << format << *
i << 
' ';
 
 
 
 
The documentation for this struct was generated from the following file: