|
linbox
|
Functions | |
| template<> | |
| NTL::GF2E & | Caster (NTL::GF2E &x, const Integer &y) |
| template<> | |
| NTL::GF2E & | Caster (NTL::GF2E &x, const double &y) |
| template<> | |
| Integer & | Caster (Integer &x, const NTL::GF2E &y) |
| template<> | |
| NTL::zz_p & | Caster (NTL::zz_p &x, const Integer &y) |
| Initialization of field element from an integer. | |
| template<> | |
| NTL::zz_p & | Caster (NTL::zz_p &x, const double &y) |
| template<> | |
| Integer & | Caster (Integer &x, const NTL::zz_p &y) |
| Conversion of field element to an Integer. | |
| template<> | |
| NTL::zz_pE & | Caster (NTL::zz_pE &x, const Integer &y) |
| template<> | |
| NTL::zz_pE & | Caster (NTL::zz_pE &x, const double &y) |
| template<> | |
| Integer & | Caster (Integer &x, const NTL::zz_pE &y) |
| template<> | |
| NTL::RR & | Caster (NTL::RR &x, const Integer &y) |
| Initialization of field element from an integer. | |
| template<> | |
| NTL::RR & | Caster (NTL::RR &x, const double &y) |
| template<> | |
| NTL::RR & | Caster (NTL::RR &x, const int32_t &y) |
| template<> | |
| NTL::RR & | Caster (NTL::RR &x, const int64_t &y) |
| template<> | |
| NTL::RR & | Caster (NTL::RR &x, const uint32_t &y) |
| template<> | |
| NTL::RR & | Caster (NTL::RR &x, const uint64_t &y) |
| template<> | |
| Integer & | Caster (Integer &x, const NTL::RR &y) |
| Conversion of field element to an integer. | |
| template<> | |
| NTL::ZZ & | Caster (NTL::ZZ &x, const Integer &y) |
| Initialization of field element from an integer. | |
| template<> | |
| NTL::ZZ & | Caster (NTL::ZZ &x, const double &y) |
| template<> | |
| NTL::ZZ & | Caster (NTL::ZZ &x, const int32_t &y) |
| template<> | |
| NTL::ZZ & | Caster (NTL::ZZ &x, const int64_t &y) |
| template<> | |
| NTL::ZZ & | Caster (NTL::ZZ &x, const uint32_t &y) |
| template<> | |
| NTL::ZZ & | Caster (NTL::ZZ &x, const uint64_t &y) |
| template<> | |
| Integer & | Caster (Integer &x, const NTL::ZZ &y) |
| Conversion of field element to an integer. | |
| template<> | |
| Integer & | Caster (Integer &x, const NTL::ZZ_p &y) |
| Conversion of field element to an Integer. | |
| template<> | |
| double & | Caster (double &x, const NTL::ZZ_p &y) |
| template<> | |
| NTL::ZZ_p & | Caster (NTL::ZZ_p &x, const Integer &y) |
| Initialization of field element from an Integer. | |
| template<> | |
| NTL::ZZ_p & | Caster (NTL::ZZ_p &x, const double &y) |
| template<> | |
| NTL::ZZ_p & | Caster (NTL::ZZ_p &x, const int &y) |
| template<> | |
| NTL::ZZ_p & | Caster (NTL::ZZ_p &x, const unsigned long &y) |
| template<> | |
| NTL::ZZ_p & | Caster (NTL::ZZ_p &x, const unsigned int &y) |
| template<> | |
| NTL::ZZ_pE & | Caster (NTL::ZZ_pE &x, const Integer &y) |
| template<> | |
| NTL::ZZ_pE & | Caster (NTL::ZZ_pE &x, const double &y) |
| Integer & | Caster (Integer &c, const NTL::ZZ_pE &e) |
| NTL::GF2E & Caster | ( | NTL::GF2E & | x, |
| const Integer & | y ) |
| NTL::GF2E & Caster | ( | NTL::GF2E & | x, |
| const double & | y ) |
| Integer & Caster | ( | Integer & | x, |
| const NTL::GF2E & | y ) |
| NTL::zz_p & Caster | ( | NTL::zz_p & | x, |
| const Integer & | y ) |
Initialization of field element from an integer.
This Uses NTL's to_zz_p function.
| x | field element to contain output (reference returned). |
| y | Integer. |
| NTL::zz_p & Caster | ( | NTL::zz_p & | x, |
| const double & | y ) |
| Integer & Caster | ( | Integer & | x, |
| const NTL::zz_p & | y ) |
Conversion of field element to an Integer.
This function assumes the output field element x has already been constructed, but that it is not already initialized. For now, this is done by converting the element type to a C++ long and then to the Integer type through the use of static cast and NTL's to_long function. This, of course, assumes such static casts are possible. This function should be changed in the future to avoid using long.
| x | reference to Integer to contain output (reference returned). |
| y | constant reference to field element. |
| NTL::zz_pE & Caster | ( | NTL::zz_pE & | x, |
| const Integer & | y ) |
| NTL::zz_pE & Caster | ( | NTL::zz_pE & | x, |
| const double & | y ) |
| Integer & Caster | ( | Integer & | x, |
| const NTL::zz_pE & | y ) |
| NTL::RR & Caster | ( | NTL::RR & | x, |
| const Integer & | y ) |
Initialization of field element from an integer.
Behaves like C++ allocator construct. This function assumes the output field element x has already been constructed, but that it is not already initialized. For now, this is done by converting the integer type to a C++ long and then to the element type through the use of static cast and NTL's to_RR function. This, of course, assumes such static casts are possible. This function should be changed in the future to avoid using long.
| x | field element to contain output (reference returned). |
| y | integer. |
| NTL::RR & Caster | ( | NTL::RR & | x, |
| const double & | y ) |
| NTL::RR & Caster | ( | NTL::RR & | x, |
| const int32_t & | y ) |
| NTL::RR & Caster | ( | NTL::RR & | x, |
| const int64_t & | y ) |
| NTL::RR & Caster | ( | NTL::RR & | x, |
| const uint32_t & | y ) |
| NTL::RR & Caster | ( | NTL::RR & | x, |
| const uint64_t & | y ) |
| Integer & Caster | ( | Integer & | x, |
| const NTL::RR & | y ) |
Conversion of field element to an integer.
This function assumes the output field element x has already been constructed, but that it is not already initialized. For now, this is done by converting the element type to a C++ long and then to the integer type through the use of static cast and NTL's to_long function. This, of course, assumes such static casts are possible. This function should be changed in the future to avoid using long.
| x | reference to integer to contain output (reference returned). |
| y | constant reference to field element. |
|
inline |
Initialization of field element from an integer.
Behaves like C++ allocator construct. This function assumes the output field element x has already been constructed, but that it is not already initialized. For now, this is done by converting the integer type to a C++ long and then to the element type through the use of static cast and NTL's to_ZZ function. This, of course, assumes such static casts are possible. This function should be changed in the future to avoid using long.
| x | field element to contain output (reference returned). |
| y | integer. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Conversion of field element to an integer.
This function assumes the output field element x has already been constructed, but that it is not already initialized. For now, this is done by converting the element type to a C++ long and then to the integer type through the use of static cast and NTL's to_long function. This, of course, assumes such static casts are possible. This function should be changed in the future to avoid using long.
| x | reference to integer to contain output (reference returned). |
| y | constant reference to field element. |
| Integer & Caster | ( | Integer & | x, |
| const NTL::ZZ_p & | y ) |
Conversion of field element to an Integer.
This function assumes the output field element x has already been constructed, but that it is not already initialized. This done by converting to a std::string : inefficient but correct.
| x | reference to Integer to contain output (reference returned). |
| y | constant reference to field element. |
| double & Caster | ( | double & | x, |
| const NTL::ZZ_p & | y ) |
| NTL::ZZ_p & Caster | ( | NTL::ZZ_p & | x, |
| const double & | y ) |
| NTL::ZZ_p & Caster | ( | NTL::ZZ_p & | x, |
| const int & | y ) |
| NTL::ZZ_p & Caster | ( | NTL::ZZ_p & | x, |
| const unsigned long & | y ) |
| NTL::ZZ_p & Caster | ( | NTL::ZZ_p & | x, |
| const unsigned int & | y ) |
| NTL::ZZ_pE & Caster | ( | NTL::ZZ_pE & | x, |
| const Integer & | y ) |
| NTL::ZZ_pE & Caster | ( | NTL::ZZ_pE & | x, |
| const double & | y ) |
| Integer & Caster | ( | Integer & | c, |
| const NTL::ZZ_pE & | e ) |