piranha
0.10
|
Specialisation of the implementation of piranha::math::gcd() for piranha::mp_integer. More...
#include <piranha/mp_integer.hpp>
Public Member Functions | |
template<std::size_t SSize> | |
mp_integer< SSize > | operator() (const mp_integer< SSize > &a, const mp_integer< SSize > &b) const |
Call operator, piranha::mp_integer - piranha::mp_integer overload. More... | |
template<std::size_t SSize, typename T1 > | |
mp_integer< SSize > | operator() (const mp_integer< SSize > &a, const T1 &b) const |
Call operator, piranha::mp_integer - integral overload. More... | |
template<std::size_t SSize, typename T1 > | |
mp_integer< SSize > | operator() (const T1 &a, const mp_integer< SSize > &b) const |
Call operator, integral - piranha::mp_integer overload. More... | |
Specialisation of the implementation of piranha::math::gcd() for piranha::mp_integer.
This specialisation is enabled when:
T
and U
are both instances of piranha::mp_integer with the same static size,T
is an instance of piranha::mp_integer and U
is an integral type from which piranha::mp_integer is constructible,U
is an instance of piranha::mp_integer and T
is an integral type from which piranha::mp_integer is constructible.The result will be calculated via piranha::mp_integer::gcd(const mp_integer &, const mp_integer &), after any necessary type conversion.
Definition at line 423 of file mp_integer.hpp.
|
inline |
Call operator, piranha::mp_integer - piranha::mp_integer overload.
a | first argument. |
b | second argument. |
a
and b
. Definition at line 432 of file mp_integer.hpp.
|
inline |
Call operator, piranha::mp_integer - integral overload.
a | first argument. |
b | second argument. |
a
and b
. Definition at line 444 of file mp_integer.hpp.
|
inline |
Call operator, integral - piranha::mp_integer overload.
a | first argument. |
b | second argument. |
a
and b
. Definition at line 456 of file mp_integer.hpp.