Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
LatBuilder::MeritSeq::CoordUniformInnerProd< LAT, COMPRESS > Class Template Reference

Standard implementation of the inner product for a sequence of vector with a single vector. More...

#include <CoordUniformInnerProd.h>

Classes

class  Seq
 Sequence of inner product values. More...
 

Public Types

typedef Storage< LAT, COMPRESS > InternalStorage
 
typedef CoordUniformStateList< LAT, COMPRESS > StateList
 
typedef Storage< LAT, COMPRESS >::MeritValue MeritValue
 

Public Member Functions

template<class K >
 CoordUniformInnerProd (Storage< LAT, COMPRESS > storage, const Kernel::Base< K > &kernel)
 Constructor. More...
 
const Storage< LAT, COMPRESS > & storage () const
 Returns the storage configuration instance.
 
const Storage< LAT, COMPRESS > & internalStorage () const
 Returns the storage configuration instance.
 
const RealVectorkernelValues () const
 Returns the vector of kernel values.
 
template<typename GENSEQ , typename E >
Seq< GENSEQ > prodSeq (const GENSEQ &genSeq, const boost::numeric::ublas::vector_expression< E > &vec) const
 Creates a new sequence of inner product values by applying a stride permutation based on genSeq to the vector of kernel values, then by computing the inner product with vec. More...
 

Friends

template<class >
class Seq
 

Detailed Description

template<LatType LAT, Compress COMPRESS>
class LatBuilder::MeritSeq::CoordUniformInnerProd< LAT, COMPRESS >

Standard implementation of the inner product for a sequence of vector with a single vector.

Constructor & Destructor Documentation

template<LatType LAT, Compress COMPRESS>
template<class K >
LatBuilder::MeritSeq::CoordUniformInnerProd< LAT, COMPRESS >::CoordUniformInnerProd ( Storage< LAT, COMPRESS >  storage,
const Kernel::Base< K > &  kernel 
)
inline

Constructor.

Parameters
storageStorage configuration.
kernelKernel. Used to create a sequence of permuatations of the kernel values evaluated at every one-dimensional lattice point.

Member Function Documentation

template<LatType LAT, Compress COMPRESS>
template<typename GENSEQ , typename E >
Seq<GENSEQ> LatBuilder::MeritSeq::CoordUniformInnerProd< LAT, COMPRESS >::prodSeq ( const GENSEQ &  genSeq,
const boost::numeric::ublas::vector_expression< E > &  vec 
) const
inline

Creates a new sequence of inner product values by applying a stride permutation based on genSeq to the vector of kernel values, then by computing the inner product with vec.

Parameters
genSeqSequence of generator values.
vecSecond operand in the inner product.

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