Lattice Tester Online Documentation 0.1.0-861
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
|
This template class wraps any implementation of a CoordinateSets and adds a specific coordinate to each coordinate sets. More...
#include <latticetester/CoordinateSets.h>
Classes | |
class | const_iterator |
An iterator class used internally by the AddCoordinate class. More... | |
Public Member Functions | |
AddCoordinate (const BASE &base, Coordinates::value_type coord) | |
Constructs a sequence of coordinate sets by adding the coordinate coord to each element in the base sequence base . | |
const BASE & | base () const |
Returns the base object used to produce the subsets. | |
const Coordinates::value_type & | coord () const |
Returns the coordinate this object adds. | |
const_iterator | begin () const |
Returns an iterator pointing to the first element in the seq. | |
const_iterator | end () const |
Returns an iterator pointing past the last element in the seq. | |
This template class wraps any implementation of a CoordinateSets and adds a specific coordinate to each coordinate sets.
When iterating through the subsets of this class, they will not be ordered by cardinality because the sets are generated on the fly and the coordinate is added if it is not already contained.
BASE
is a type of coordinate sets that serves as a base. This should be one of the classes defined in the CoordinateSets
namespace.
|
inline |
Constructs a sequence of coordinate sets by adding the coordinate coord
to each element in the base sequence base
.
|
inline |
Returns the base object used to produce the subsets.
|
inline |
Returns an iterator pointing to the first element in the seq.
|
inline |
Returns the coordinate this object adds.
|
inline |
Returns an iterator pointing past the last element in the seq.