Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
LatBuilder::StorageTraits< Storage< LatType::ORDINARY, COMPRESS > >::Stride Class Reference

Stride permutation. More...

#include <Storage-ORDINARY.h>

Public Types

typedef StorageTraits::size_type size_type
 

Public Member Functions

 Stride (Storage< LatType::ORDINARY, COMPRESS > storage, size_type stride)
 
size_type operator() (size_type i) const
 
size_type size () const
 

Detailed Description

template<Compress COMPRESS>
class LatBuilder::StorageTraits< Storage< LatType::ORDINARY, COMPRESS > >::Stride

Stride permutation.

The elements are visited by jumping across a certain number of elements (the stride length) periodically.

Consider the unpermuted vector \((v_1, \dots, v_n)\) for some positive integer \(n\) and a positive integer \(a\), the stride length. Then, the \(j\)-th component of the permuted vector has value \(v_{j a \bmod n}\).


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