Lattice Tester Online Documentation 0.1.0-861
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
Loading...
Searching...
No Matches
LatticeTester::WeightsUniform Class Reference

Specifies projection weights that are the same (usually 1) for all projections. More...

#include <latticetester/WeightsUniform.h>

+ Inheritance diagram for LatticeTester::WeightsUniform:

Public Member Functions

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

Protected Member Functions

virtual void format (std::ostream &os) const
 Identifies the type of weights, formats them and outputs them on os.
 
- Protected Member Functions inherited from LatticeTester::Weights

Protected Attributes

Weight m_weight
 

Additional Inherited Members

Detailed Description

Specifies projection weights that are the same (usually 1) for all projections.

Constructor & Destructor Documentation

◆ WeightsUniform()

LatticeTester::WeightsUniform::WeightsUniform ( Weight weight)
inlineexplicit

Constructs uniform weights.

Parameters
weightWeight given to all projections.

◆ ~WeightsUniform()

virtual LatticeTester::WeightsUniform::~WeightsUniform ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ format()

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

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

Subclasses that implement Weights should identify themselves in the output.

Implements LatticeTester::Weights.

◆ getWeight()

virtual Weight LatticeTester::WeightsUniform::getWeight ( const Coordinates & ) const
inlinevirtual

Returns the same weight regardless of the specified indices.

Implements LatticeTester::Weights.

Member Data Documentation

◆ m_weight

Weight LatticeTester::WeightsUniform::m_weight
protected

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