LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatticeTester::Lacunary< BasInt > Class Template Reference

This class implements sets of lacunary indices. More...

#include <Lacunary.h>

Public Member Functions

 Lacunary (const BasIntVec &C, int t)
 Constructor for a set of \(t\) lacunary indices given in \(C[j]\), for \(j = 1, 2, …, t\).
 
 Lacunary (int t=0)
 Constructor for a set of \(t\) lacunary indices. More...
 
 ~Lacunary ()
 Destructor.
 
BasInt & operator[] (int i)
 Returns the lacunary index m_lac[j].
 
BasInt & getLac (int i)
 Same as above.
 
int getSize () const
 Returns the size of the lacunary set (the number of lacunary indices).
 
bool calcIndicesStreams (int s, int w, int &minDim, int maxDim, int order)
 Computes lacunary indices by groups of \(s\), spaced apart by \(2^w\). More...
 
std::string toString () const
 Returns this object as a string.
 

Detailed Description

template<typename BasInt>
class LatticeTester::Lacunary< BasInt >

This class implements sets of lacunary indices.

Constructor & Destructor Documentation

◆ Lacunary()

template<typename BasInt >
LatticeTester::Lacunary< BasInt >::Lacunary ( int  t = 0)
inlineexplicit

Constructor for a set of \(t\) lacunary indices.

The lacunary indices can be read later by ReadLac.

References LatticeTester::CreateVect().

Member Function Documentation

◆ calcIndicesStreams()

template<typename BasInt >
bool LatticeTester::Lacunary< BasInt >::calcIndicesStreams ( int  s,
int  w,
int &  minDim,
int  maxDim,
int  order 
)

Computes lacunary indices by groups of \(s\), spaced apart by \(2^w\).

If \(w=0\), this is the case of non-lacunary indices. If MinDim is smaller than Order, it is reset to Order + 1. Returns true in the lacunary case, and false otherwise.

References LatticeTester::CreateVect(), LatticeTester::DeleteVect(), and LatticeTester::power2().


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