#include <bn254_if.hpp>
|
| | Mpz () |
| |
| | Mpz (const Mpz &x) |
| |
| | Mpz (int x) throw (std::exception) |
| |
| | Mpz (const std::string &str) throw (std::exception) |
| |
| void | set (int x) throw (std::exception) |
| |
| void | set (const std::string &str) throw (std::exception) |
| |
| std::string | toString () const throw (std::exception) |
| |
| bool | equals (const Mpz &rhs) const |
| |
| int | compareTo (const Mpz &rhs) const |
| |
| void | add (const Mpz &rhs) throw (std::exception) |
| |
| void | sub (const Mpz &rhs) throw (std::exception) |
| |
| void | mul (const Mpz &rhs) throw (std::exception) |
| |
| void | mod (const Mpz &rhs) throw (std::exception) |
| |
Definition at line 24 of file bn254_if.hpp.
◆ Mpz() [1/4]
◆ Mpz() [2/4]
| Mpz::Mpz |
( |
const Mpz & | x | ) |
|
|
inline |
◆ Mpz() [3/4]
| Mpz::Mpz |
( |
int | x | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ Mpz() [4/4]
| Mpz::Mpz |
( |
const std::string & | str | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ add()
| void Mpz::add |
( |
const Mpz & | rhs | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ compareTo()
| int Mpz::compareTo |
( |
const Mpz & | rhs | ) |
const |
|
inline |
Definition at line 49 of file bn254_if.hpp.
49{ return mpz_cmp(self_.get_mpz_t(), rhs.self_.get_mpz_t()); }
◆ equals()
| bool Mpz::equals |
( |
const Mpz & | rhs | ) |
const |
|
inline |
Definition at line 48 of file bn254_if.hpp.
48{ return self_ == rhs.self_; }
◆ mod()
| void Mpz::mod |
( |
const Mpz & | rhs | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ mul()
| void Mpz::mul |
( |
const Mpz & | rhs | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ set() [1/2]
| void Mpz::set |
( |
const std::string & | str | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
Definition at line 40 of file bn254_if.hpp.
41 {
42 self_.set_str(str, 0);
43 }
◆ set() [2/2]
| void Mpz::set |
( |
int | x | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ sub()
| void Mpz::sub |
( |
const Mpz & | rhs | ) |
|
| throw | ( | std::exception ) | | | |
|
inline |
◆ toString()
| std::string Mpz::toString |
( |
| ) |
const |
| throw | ( | std::exception ) | | | |
|
inline |
Definition at line 44 of file bn254_if.hpp.
45 {
46 return self_.get_str();
47 }
◆ Ec1
◆ Ec2
◆ Fp
◆ Fp12
◆ Fp2
The documentation for this class was generated from the following file:
- libraries/fc/libraries/ff/depends/ate-pairing/java/bn254_if.hpp