#include <cnpy.h>
 | 
|   | NpyArray (const std::vector< size_t > &_shape, size_t _word_size, bool _fortran_order) | 
|   | 
|   | NpyArray () | 
|   | 
| template<typename T >  | 
| T *  | data () | 
|   | 
| template<typename T >  | 
| const T *  | data () const | 
|   | 
| template<typename T >  | 
| std::vector< T >  | as_vec () const | 
|   | 
| size_t  | num_bytes () const | 
|   | 
Definition at line 24 of file cnpy.h.
 
◆ NpyArray() [1/2]
  
  
      
        
          | cnpy::NpyArray::NpyArray  | 
          ( | 
          const std::vector< size_t > &  | 
          _shape,  | 
         
        
           | 
           | 
          size_t  | 
          _word_size,  | 
         
        
           | 
           | 
          bool  | 
          _fortran_order  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ NpyArray() [2/2]
  
  
      
        
          | cnpy::NpyArray::NpyArray  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ as_vec()
template<typename T > 
  
  
      
        
          | std::vector<T> cnpy::NpyArray::as_vec  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ data() [1/2]
template<typename T > 
  
  
      
        
          | T* cnpy::NpyArray::data  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ data() [2/2]
template<typename T > 
  
  
      
        
          | const T* cnpy::NpyArray::data  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ num_bytes()
  
  
      
        
          | size_t cnpy::NpyArray::num_bytes  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ data_holder
      
        
          | std::shared_ptr<std::vector<char> > cnpy::NpyArray::data_holder | 
        
      
 
 
◆ fortran_order
      
        
          | bool cnpy::NpyArray::fortran_order | 
        
      
 
 
◆ num_vals
      
        
          | size_t cnpy::NpyArray::num_vals | 
        
      
 
 
◆ shape
      
        
          | std::vector<size_t> cnpy::NpyArray::shape | 
        
      
 
 
◆ word_size
      
        
          | size_t cnpy::NpyArray::word_size | 
        
      
 
 
The documentation for this struct was generated from the following file: