Lattice Builder Manual Software Package for Constructing Rank-1 Lattices

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Types | Public Member Functions | List of all members
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

  base | The base of the digits.
  number | The initial number to be represented.

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

- latbuilder/include/latbuilder/Digits.h