Lattice Tester Guide  1.0-9
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
LatticeTester::UniformWeights Class Reference

This class is used to implement the same weight for all projections. More...

#include <latticetester/UniformWeights.h>

Inherits LatticeTester::Weights.

Public Member Functions

 UniformWeights (Weight weight)
 Constructs uniform weights. More...
 
virtual ~UniformWeights ()
 Destructor. More...
 
virtual Weight getWeight (const Coordinates &) const
 Returns the same weight regardless of the specified indices. More...
 
- Public Member Functions inherited from LatticeTester::Weights
virtual ~Weights ()
 Destructor. More...
 
virtual unsigned int interlacingFactor () const
 Returns the interlacing factor of the weights. More...
 

Protected Member Functions

virtual void format (std::ostream &os) const
 Identifies the type of weights, formats them and outputs them on os. More...
 

Additional Inherited Members

Detailed Description

This class is used to implement the same weight for all projections.

It represents the trivial case of no weight. The weights can all be chosen as 1.

Constructor & Destructor Documentation

◆ UniformWeights()

LatticeTester::UniformWeights::UniformWeights ( Weight  weight)
inlineexplicit

Constructs uniform weights.

Parameters
weightWeight for all projections.

◆ ~UniformWeights()

virtual LatticeTester::UniformWeights::~UniformWeights ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ format()

virtual void LatticeTester::UniformWeights::format ( std::ostream &  os) const
inlineprotectedvirtual

Identifies the type of weights, formats them and outputs them on os.

Remarks
Deriving classes should identify themselves in the output.

Implements LatticeTester::Weights.

◆ getWeight()

virtual Weight LatticeTester::UniformWeights::getWeight ( const Coordinates ) const
inlinevirtual

Returns the same weight regardless of the specified indices.

Implements LatticeTester::Weights.


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