Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
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. More...
 
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

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.

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