Lattice Tester Online Documentation unknown
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
|
Defines product weights, for which the weight of a projection is equal to the product of the weights of the individual coordinates. More...
Public Member Functions | |
WeightsProduct (Weight defaultWeight=0.0) | |
Constructs product weights with a default weight. | |
virtual | ~WeightsProduct () |
Destructor. | |
virtual Weight | getWeight (const Coordinates &projection) const |
Returns the weight of the projection specified by projection . | |
virtual Weight | getWeightForCoordinate (Coordinates::size_type coordinate) const |
Returns the weight associated to the given coordinate. | |
virtual void | setWeightForCoordinate (Coordinates::size_type coordinate, Weight weight) |
Sets the weight for the coordinate specified by coordinate . | |
virtual void | setDefaultWeight (Weight weight) |
Sets the default weight of all coordinates for which a weight has not been set explicitly set using setWeightForCoordinate(). | |
virtual const std::vector< Weight > & | getWeights () const |
virtual Weight | getDefaultWeight () const |
void | multiplyWeights (Weight c) |
Multiply each weight by a constant. | |
![]() | |
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 Attributes | |
Weight | m_defaultWeight |
std::vector< Weight > | m_weights |
Additional Inherited Members | |
![]() | |
std::ostream & | operator<< (std::ostream &os, const Weights &o) |
Identifies the type of weights, formats them and outputs them on os . | |
Defines product weights, for which the weight of a projection is equal to the product of the weights of the individual coordinates.
|
explicit |
Constructs product weights with a default weight.
|
inlinevirtual |
Destructor.
|
virtual |
Returns the weight of the projection specified by projection
.
Implements LatticeTester::Weights.
|
inlinevirtual |
Returns the weight associated to the given coordinate.
|
virtual |
Sets the weight for the coordinate specified by coordinate
.
|
inlinevirtual |
Sets the default weight of all coordinates for which a weight has not been set explicitly set using setWeightForCoordinate().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Multiply each weight by a constant.
|
protectedvirtual |
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.
|
protected |
|
protected |