YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
struct_comp_diff_3d_dx_dy_dz Struct Reference

#include <common.hh>

Inheritance diagram for struct_comp_diff_3d_dx_dy_dz:

Public Member Functions

bool operator() (differential_3d_t a, differential_3d_t b)
 

Detailed Description

Compare two differentials a,b by the magnitute of the indexes a_idx, b_idx: lower indices are listed first. For example, the indices of the differentials a(dx,dy,p) and b(dx,dy,p) are a_idx = (a.dx 2^{2n} + a.dy 2^{n} + a.dz) = (a.dx | a.dy | a.dz) and b_idx = (b.dx 2^{2n} + b.dy 2^{n} + b.dz) = (b.dx | b.dy | b.dz) where n is the word size and '|' denotes concatenation. Thus a_idx and b_idx are compared.


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