LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatBuilder::LatSeq::Combiner< LR, ET, GENSEQ, POLICY > Class Template Reference

Sequence of lattices based on a combination of sequences of generator values. More...

#include <Combiner.h>

Inherits LatBuilder::BridgeSeq< Combiner< LR, ET, GENSEQ, POLICY >, SeqCombiner< GENSEQ, POLICY >, LatDef< LR, ET >, BridgeIteratorCached >.

Public Types

typedef self_type::Base Base
 
typedef self_type::value_type value_type
 
typedef self_type::size_type size_type
 
typedef GENSEQ GenSeq
 
- Public Types inherited from LatBuilder::BridgeSeq< Combiner< LR, ET, GENSEQ, POLICY >, SeqCombiner< GENSEQ, POLICY >, LatDef< LR, ET >, BridgeIteratorCached >
typedef BridgeSeq< Combiner< LR, ET, GENSEQ, POLICY >, SeqCombiner< GENSEQ, POLICY >, LatDef< LR, ET >, BridgeIteratorCachedBridgeSeq_
 
typedef SeqCombiner< GENSEQ, POLICY > Base
 
typedef LatDef< LR, ET > value_type
 
typedef Base::size_type size_type
 
typedef BridgeIteratorCached< Combiner< LR, ET, GENSEQ, POLICY > > const_iterator
 

Public Member Functions

 Combiner (SizeParam< LR, ET > sizeParam, std::vector< GenSeq > genSeqs)
 Constructor. More...
 
const SizeParam< LR, ET > & sizeParam () const
 Returns the size parameter of the lattices in the sequence.
 
Dimension latDimension () const
 Returns the dimension of the lattices.
 
value_type element (const typename Base::const_iterator &it) const
 Computes and returns the output value.
 
- Public Member Functions inherited from LatBuilder::BridgeSeq< Combiner< LR, ET, GENSEQ, POLICY >, SeqCombiner< GENSEQ, POLICY >, LatDef< LR, ET >, BridgeIteratorCached >
 BridgeSeq (Base base=Base())
 Constructor. More...
 
Basebase ()
 Returns the base sequence.
 
const Basebase () const
 
void setBase (Base b)
 Changes the base sequence to b.
 
const_iterator begin () const
 Returns an iterator pointing to the first element in the sequence.
 
const_iterator end () const
 Returns an iterator pointing past the last element in the sequence.
 

Detailed Description

template<LatticeType LR, EmbeddingType ET, class GENSEQ, template< class > class POLICY>
class LatBuilder::LatSeq::Combiner< LR, ET, GENSEQ, POLICY >

Sequence of lattices based on a combination of sequences of generator values.

Contains all lattices with the same size parameter and dimension, with components of the generating vectors taken from a user-specified vector of sequences of generator values, one corresponding to each coordinate.

Template Parameters
ETType of lattice.
GENSEQType of sequence of generator values.
POLICYSee SeqCombiner.

Constructor & Destructor Documentation

◆ Combiner()

template<LatticeType LR, EmbeddingType ET, class GENSEQ, template< class > class POLICY>
LatBuilder::LatSeq::Combiner< LR, ET, GENSEQ, POLICY >::Combiner ( SizeParam< LR, ET >  sizeParam,
std::vector< GenSeq >  genSeqs 
)
inline

Constructor.

Parameters
sizeParamCommon lattice size parameter.
genSeqsSequence of sequences of generator values each component of the generating vector can take.

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