Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
|
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. | |
Vector of digits representing a number in an arbitrary base.
|
inline |
Constructor.
base | The base of the digits. |
number | The initial number to be represented. |