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

#include <common.hh>

Inheritance diagram for struct_comp_diff_dx_dy:

Public Member Functions

bool operator() (differential_t a, differential_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^{n} + a.dy) = (a.dx | a.dy) and b_idx = (b.dx 2^{n} + b.dy) = (b.dx | b.dy) 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: