Jazz 1.25.+
Loading...
Searching...
No Matches
Data Fields
jazz_elements::BlockHeader Struct Reference

Header for a Movable Block (Tensor, Kind or Tuple) or a Dynamic Block (Index) More...

#include <types.h>

Data Fields

int cell_type
 The type for the cells in the tensor. See CELL_TYPE_*.
 
int size
 The total number of cells in the tensor.
 
TimePoint created
 Timestamp when the block was created.
 
union { 
 
   struct { 
 
      int   rank 
 The number of dimensions.
 
      TensorDim   range 
 The dimensions of the tensor in terms of ranges (Max. size is 2 Gb.)
 
      int   num_attributes 
 Number of elements in the JazzAttributesMap.
 
      int   total_bytes 
 Total size of the block everything included.
 
      bool   has_NA 
 If true, at least one value in the tensor is a NA and block requires NA-aware arithmetic.
 
      uint64_t   hash64 
 Hash of everything but the header.
 
      Tensor   tensor 
 A tensor for type cell_type and dimensions set by Block.set_dimensions()
 
   }  
 
   Index   index 
 Any kind of Index.
 
};  
 

Detailed Description

Header for a Movable Block (Tensor, Kind or Tuple) or a Dynamic Block (Index)


The documentation for this struct was generated from the following file: