FreePOOMA
2.4.1
|
The non-unit-stride version of EquivSubsetDomainSingle, which does extra work for the case where a, b, or c do not have unit stride. More...
#include <EquivSubset.h>
Static Public Member Functions | |
static void | equiv (const T1 &a, const T2 &b, T3 &d) |
The non-unit-stride version of EquivSubsetDomainSingle, which does extra work for the case where a, b, or c do not have unit stride.
The fourth argument, the returned equivalent subset domain, is assumed to have been set equal to the third domain beforehand. It will be offset and scaled in the same way that the second is from the first.
To calculate the non-unit-stride equiv. subset, we do this:
static void EquivSubsetDomainSingle< T1, T2, T3, Dim, true >::equiv | ( | const T1 & | a, |
const T2 & | b, | ||
T3 & | d | ||
) | [inline, static] |
References PAssert.