sherpa::nvec Struct Reference


Public Member Functions

 nvec ()
 nvec (const sherpa::BigNum &bn)
 nvec (size_t l, uint32_t *v)
uint64_t getDigit (size_t i) const

Data Fields

size_t len
uint32_t * vec

Detailed Description

Definition at line 79 of file BigNum.cxx.


Constructor & Destructor Documentation

sherpa::nvec::nvec (  )  [inline]

Definition at line 83 of file BigNum.cxx.

References len, and vec.

sherpa::nvec::nvec ( const sherpa::BigNum bn  )  [inline]

Definition at line 89 of file BigNum.cxx.

References sherpa::BigNum::digits, len, sherpa::BigNum::nDigits, sherpa::BigNum::oneDigit, and vec.

sherpa::nvec::nvec ( size_t  l,
uint32_t *  v 
) [inline]

Definition at line 101 of file BigNum.cxx.

References len, and vec.


Member Function Documentation

uint64_t sherpa::nvec::getDigit ( size_t  i  )  const [inline]

Definition at line 106 of file BigNum.cxx.

References len, and vec.

Referenced by sherpa::vu_add(), sherpa::vu_cmp(), sherpa::vu_lshift_bits(), sherpa::vu_mul(), sherpa::vu_rshift_bits(), and sherpa::vu_sub().


Field Documentation

size_t sherpa::nvec::len

Definition at line 80 of file BigNum.cxx.

Referenced by getDigit(), nvec(), sherpa::BigNum::operator *(), sherpa::BigNum::operator%(), sherpa::BigNum::operator+(), sherpa::BigNum::operator-(), sherpa::BigNum::operator/(), sherpa::BigNum::operator<<(), sherpa::BigNum::operator>>(), sherpa::vu_add(), sherpa::vu_cmp(), sherpa::vu_divqr(), sherpa::vu_lshift_bits(), sherpa::vu_lshift_digits(), sherpa::vu_mul(), sherpa::vu_rshift_bits(), sherpa::vu_rshift_digits(), and sherpa::vu_sub().

uint32_t* sherpa::nvec::vec

Definition at line 81 of file BigNum.cxx.

Referenced by getDigit(), nvec(), sherpa::BigNum::operator *(), sherpa::BigNum::operator%(), sherpa::BigNum::operator+(), sherpa::BigNum::operator-(), sherpa::BigNum::operator/(), sherpa::BigNum::operator<<(), sherpa::BigNum::operator>>(), sherpa::vu_add(), sherpa::vu_clear_bit(), sherpa::vu_divqr(), sherpa::vu_get_bit(), sherpa::vu_lshift_bits(), sherpa::vu_lshift_digits(), sherpa::vu_mul(), sherpa::vu_rshift_bits(), sherpa::vu_rshift_digits(), sherpa::vu_set_bit(), and sherpa::vu_sub().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 10 07:59:21 2012 for BitC Compiler by  doxygen 1.4.7