#include <bn254_if.hpp>
|
| Fp () |
|
| Fp (const Fp &x) |
|
| Fp (int x) |
|
| Fp (const std::string &str) throw (std::exception) |
|
void | set (int x) |
|
void | set (const std::string &str) throw (std::exception) |
|
std::string | toString () const throw (std::exception) |
|
bool | equals (const Fp &rhs) const |
|
void | add (const Fp &rhs) throw (std::exception) |
|
void | sub (const Fp &rhs) throw (std::exception) |
|
void | mul (const Fp &rhs) throw (std::exception) |
|
void | power (const Mpz &x) |
|
Definition at line 56 of file bn254_if.hpp.
◆ Fp() [1/4]
◆ Fp() [2/4]
◆ Fp() [3/4]
◆ Fp() [4/4]
Fp::Fp |
( |
const std::string & | str | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ add()
void Fp::add |
( |
const Fp & | rhs | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ equals()
bool Fp::equals |
( |
const Fp & | rhs | ) |
const |
|
inline |
Definition at line 77 of file bn254_if.hpp.
77{ return self_ == rhs.self_; }
◆ mul()
void Fp::mul |
( |
const Fp & | rhs | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ power()
void Fp::power |
( |
const Mpz & | x | ) |
|
|
inline |
Definition at line 81 of file bn254_if.hpp.
82 {
84 }
T power(const T &x, const S &y)
◆ set() [1/2]
void Fp::set |
( |
const std::string & | str | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ set() [2/2]
◆ sub()
void Fp::sub |
( |
const Fp & | rhs | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ toString()
std::string Fp::toString |
( |
| ) |
const |
throw | ( | std::exception ) | | | |
|
inline |
Definition at line 73 of file bn254_if.hpp.
74 {
76 }
std::string toString(int base=10) const
◆ Ec1
◆ Fp2
The documentation for this class was generated from the following file:
- libraries/fc/libraries/ff/depends/ate-pairing/java/bn254_if.hpp