C(++)ECCO
C++ Error Control COding: a header-only library for ECC simulations and experiments, modeling complete coding systems across arbitrary finite fields and complex inter-field relationships - Christian Senger <senger@inue.uni-stuttgart.de>
Loading...
Searching...
No Matches
InfInt Class Reference

#include <InfInt.hpp>

Public Member Functions

 InfInt ()
 InfInt (const char *c)
 InfInt (const std::string &s)
 InfInt (int l)
 InfInt (long l)
 InfInt (long long l)
 InfInt (unsigned int l)
 InfInt (unsigned long l)
 InfInt (unsigned long long l)
 InfInt (const InfInt &l)
const InfIntoperator= (const char *c)
const InfIntoperator= (const std::string &s)
const InfIntoperator= (int l)
const InfIntoperator= (long l)
const InfIntoperator= (long long l)
const InfIntoperator= (unsigned int l)
const InfIntoperator= (unsigned long l)
const InfIntoperator= (unsigned long long l)
const InfIntoperator= (const InfInt &l)
const InfIntoperator++ ()
const InfIntoperator-- ()
InfInt operator++ (int)
InfInt operator-- (int)
const InfIntoperator+= (const InfInt &rhs)
const InfIntoperator-= (const InfInt &rhs)
const InfIntoperator*= (const InfInt &rhs)
const InfIntoperator/= (const InfInt &rhs)
const InfIntoperator%= (const InfInt &rhs)
const InfIntoperator*= (ELEM_TYPE rhs)
InfInt operator- () const
InfInt operator+ (const InfInt &rhs) const
InfInt operator- (const InfInt &rhs) const
InfInt operator* (const InfInt &rhs) const
InfInt operator/ (const InfInt &rhs) const
InfInt operator% (const InfInt &rhs) const
InfInt operator* (ELEM_TYPE rhs) const
bool operator== (const InfInt &rhs) const
bool operator!= (const InfInt &rhs) const
bool operator< (const InfInt &rhs) const
bool operator<= (const InfInt &rhs) const
bool operator> (const InfInt &rhs) const
bool operator>= (const InfInt &rhs) const
InfInt intSqrt () const
char digitAt (size_t i) const
size_t numberOfDigits () const
size_t size () const
std::string to_string () const
int toInt () const
long toLong () const
long long toLongLong () const
unsigned int toUnsignedInt () const
unsigned long toUnsignedLong () const
unsigned long long toUnsignedLongLong () const

Friends

std::ostream & operator<< (std::ostream &s, const InfInt &n)
std::istream & operator>> (std::istream &s, InfInt &val)

Detailed Description

Definition at line 113 of file InfInt.hpp.

Constructor & Destructor Documentation

◆ InfInt() [1/10]

InfInt::InfInt ( )
inline

Definition at line 208 of file InfInt.hpp.

◆ InfInt() [2/10]

InfInt::InfInt ( const char * c)
inline

Definition at line 213 of file InfInt.hpp.

◆ InfInt() [3/10]

InfInt::InfInt ( const std::string & s)
inline

Definition at line 218 of file InfInt.hpp.

◆ InfInt() [4/10]

InfInt::InfInt ( int l)
inline

Definition at line 223 of file InfInt.hpp.

Here is the call graph for this function:

◆ InfInt() [5/10]

InfInt::InfInt ( long l)
inline

Definition at line 245 of file InfInt.hpp.

Here is the call graph for this function:

◆ InfInt() [6/10]

InfInt::InfInt ( long long l)
inline

Definition at line 267 of file InfInt.hpp.

Here is the call graph for this function:

◆ InfInt() [7/10]

InfInt::InfInt ( unsigned int l)
inline

Definition at line 289 of file InfInt.hpp.

◆ InfInt() [8/10]

InfInt::InfInt ( unsigned long l)
inline

Definition at line 297 of file InfInt.hpp.

◆ InfInt() [9/10]

InfInt::InfInt ( unsigned long long l)
inline

Definition at line 305 of file InfInt.hpp.

◆ InfInt() [10/10]

InfInt::InfInt ( const InfInt & l)
inline

Definition at line 313 of file InfInt.hpp.

Member Function Documentation

◆ digitAt()

char InfInt::digitAt ( size_t i) const
inline

Definition at line 864 of file InfInt.hpp.

◆ intSqrt()

InfInt InfInt::intSqrt ( ) const
inline

Definition at line 833 of file InfInt.hpp.

Here is the call graph for this function:

◆ numberOfDigits()

size_t InfInt::numberOfDigits ( ) const
inline

Definition at line 877 of file InfInt.hpp.

◆ operator!=()

bool InfInt::operator!= ( const InfInt & rhs) const
inline

Definition at line 705 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator%()

InfInt InfInt::operator% ( const InfInt & rhs) const
inline

Definition at line 659 of file InfInt.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator%=()

const InfInt & InfInt::operator%= ( const InfInt & rhs)
inline

Definition at line 526 of file InfInt.hpp.

Here is the call graph for this function:

◆ operator*() [1/2]

InfInt InfInt::operator* ( const InfInt & rhs) const
inline

Definition at line 595 of file InfInt.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*() [2/2]

InfInt InfInt::operator* ( ELEM_TYPE rhs) const
inline

Definition at line 682 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator*=() [1/2]

const InfInt & InfInt::operator*= ( const InfInt & rhs)
inline

Definition at line 492 of file InfInt.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*=() [2/2]

const InfInt & InfInt::operator*= ( ELEM_TYPE rhs)
inline

Definition at line 554 of file InfInt.hpp.

◆ operator+()

InfInt InfInt::operator+ ( const InfInt & rhs) const
inline

Definition at line 571 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator++() [1/2]

const InfInt & InfInt::operator++ ( )
inline

Definition at line 436 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator++() [2/2]

InfInt InfInt::operator++ ( int )
inline

Definition at line 450 of file InfInt.hpp.

◆ operator+=()

const InfInt & InfInt::operator+= ( const InfInt & rhs)
inline

Definition at line 466 of file InfInt.hpp.

◆ operator-() [1/2]

InfInt InfInt::operator- ( ) const
inline

Definition at line 564 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator-() [2/2]

InfInt InfInt::operator- ( const InfInt & rhs) const
inline

Definition at line 583 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator--() [1/2]

const InfInt & InfInt::operator-- ( )
inline

Definition at line 443 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator--() [2/2]

InfInt InfInt::operator-- ( int )
inline

Definition at line 458 of file InfInt.hpp.

◆ operator-=()

const InfInt & InfInt::operator-= ( const InfInt & rhs)
inline

Definition at line 479 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator/()

InfInt InfInt::operator/ ( const InfInt & rhs) const
inline

Definition at line 632 of file InfInt.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator/=()

const InfInt & InfInt::operator/= ( const InfInt & rhs)
inline

Definition at line 499 of file InfInt.hpp.

Here is the call graph for this function:

◆ operator<()

bool InfInt::operator< ( const InfInt & rhs) const
inline

Definition at line 718 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator<=()

bool InfInt::operator<= ( const InfInt & rhs) const
inline

Definition at line 743 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator=() [1/9]

const InfInt & InfInt::operator= ( const char * c)
inline

Definition at line 317 of file InfInt.hpp.

◆ operator=() [2/9]

const InfInt & InfInt::operator= ( const InfInt & l)
inline

Definition at line 428 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator=() [3/9]

const InfInt & InfInt::operator= ( const std::string & s)
inline

Definition at line 323 of file InfInt.hpp.

◆ operator=() [4/9]

const InfInt & InfInt::operator= ( int l)
inline

Definition at line 329 of file InfInt.hpp.

Here is the call graph for this function:

◆ operator=() [5/9]

const InfInt & InfInt::operator= ( long l)
inline

Definition at line 351 of file InfInt.hpp.

Here is the call graph for this function:

◆ operator=() [6/9]

const InfInt & InfInt::operator= ( long long l)
inline

Definition at line 373 of file InfInt.hpp.

Here is the call graph for this function:

◆ operator=() [7/9]

const InfInt & InfInt::operator= ( unsigned int l)
inline

Definition at line 395 of file InfInt.hpp.

◆ operator=() [8/9]

const InfInt & InfInt::operator= ( unsigned long l)
inline

Definition at line 406 of file InfInt.hpp.

◆ operator=() [9/9]

const InfInt & InfInt::operator= ( unsigned long long l)
inline

Definition at line 417 of file InfInt.hpp.

◆ operator==()

bool InfInt::operator== ( const InfInt & rhs) const
inline

Definition at line 692 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator>()

bool InfInt::operator> ( const InfInt & rhs) const
inline

Definition at line 768 of file InfInt.hpp.

Here is the caller graph for this function:

◆ operator>=()

bool InfInt::operator>= ( const InfInt & rhs) const
inline

Definition at line 793 of file InfInt.hpp.

◆ size()

size_t InfInt::size ( ) const
inline

Definition at line 904 of file InfInt.hpp.

◆ to_string()

std::string InfInt::to_string ( ) const
inline

Definition at line 897 of file InfInt.hpp.

Here is the caller graph for this function:

◆ toInt()

int InfInt::toInt ( ) const
inline

Definition at line 909 of file InfInt.hpp.

◆ toLong()

long InfInt::toLong ( ) const
inline

Definition at line 925 of file InfInt.hpp.

◆ toLongLong()

long long InfInt::toLongLong ( ) const
inline

Definition at line 941 of file InfInt.hpp.

Here is the call graph for this function:

◆ toUnsignedInt()

unsigned int InfInt::toUnsignedInt ( ) const
inline

Definition at line 957 of file InfInt.hpp.

◆ toUnsignedLong()

unsigned long InfInt::toUnsignedLong ( ) const
inline

Definition at line 973 of file InfInt.hpp.

◆ toUnsignedLongLong()

unsigned long long InfInt::toUnsignedLongLong ( ) const
inline

Definition at line 989 of file InfInt.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<<

std::ostream & operator<< ( std::ostream & s,
const InfInt & n )
friend

Definition at line 1177 of file InfInt.hpp.

◆ operator>>

std::istream & operator>> ( std::istream & s,
InfInt & val )
friend

Definition at line 1169 of file InfInt.hpp.


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