LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatBuilder::Digits< INT > Class Template Reference

Vector of digits representing a number in an arbitrary base. More...

#include <Digits.h>

Inherits std::vector< T >.

Public Types

typedef INT IntegerType
typedef Digits::value_type DigitType
typedef Digits::size_type size_type

Public Member Functions

 Digits (DigitType base, IntegerType number=IntegerType(0))
 Constructor.
const DigitType & base () const
 Returns the digits base.
IntegerType value () const
 Computes and returns the number represented by the digits in this vector.

Detailed Description

template<typename INT>
class LatBuilder::Digits< INT >

Vector of digits representing a number in an arbitrary base.

Examples
tutorial/GenSeqExtend.cc.

Constructor & Destructor Documentation

◆ Digits()

template<typename INT>
LatBuilder::Digits< INT >::Digits ( DigitType base,
IntegerType number = IntegerType(0) )
inline

Constructor.

Parameters
baseThe base of the digits.
numberThe initial number to be represented.

References base().


The documentation for this class was generated from the following file:
  • include/latbuilder/Digits.h