#include <bn254_if.hpp>
|  | 
|  | Fp2 () | 
|  | 
|  | Fp2 (const Fp2 &x) | 
|  | 
|  | Fp2 (int a) | 
|  | 
|  | Fp2 (int a, int b) | 
|  | 
|  | Fp2 (const Fp &a, const Fp &b)  throw (std::exception) | 
|  | 
|  | Fp2 (const std::string &a, const std::string &b)  throw (std::exception) | 
|  | 
| Fp & | getA () | 
|  | 
| Fp & | getB () | 
|  | 
| void | set (const std::string &str)  throw (std::exception) | 
|  | 
| std::string | toString () const  throw (std::exception) | 
|  | 
| bool | equals (const Fp2 &rhs) const | 
|  | 
| void | add (const Fp2 &rhs)  throw (std::exception) | 
|  | 
| void | sub (const Fp2 &rhs)  throw (std::exception) | 
|  | 
| void | mul (const Fp2 &rhs)  throw (std::exception) | 
|  | 
| void | power (const Mpz &x) | 
|  | 
Definition at line 87 of file bn254_if.hpp.
 
◆ Fp2() [1/6]
◆ Fp2() [2/6]
  
  | 
        
          | Fp2::Fp2 | ( | const Fp2 & | x | ) |  |  | inline | 
 
 
◆ Fp2() [3/6]
Definition at line 93 of file bn254_if.hpp.
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
 
 
 
◆ Fp2() [4/6]
  
  | 
        
          | Fp2::Fp2 | ( | int | a, |  
          |  |  | int | b ) |  | inline | 
 
 
◆ Fp2() [5/6]
  
  | 
        
          | Fp2::Fp2 | ( | const Fp & | a, |  
          |  |  | const Fp & | b ) |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
Definition at line 95 of file bn254_if.hpp.
   96        : self_(
a.self_, b.self_)
 
   97    {
   98    }
 
 
◆ Fp2() [6/6]
  
  | 
        
          | Fp2::Fp2 | ( | const std::string & | a, |  
          |  |  | const std::string & | b ) |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
 
◆ add()
  
  | 
        
          | void Fp2::add | ( | const Fp2 & | rhs | ) |  |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
 
◆ equals()
  
  | 
        
          | bool Fp2::equals | ( | const Fp2 & | rhs | ) | const |  | inline | 
 
Definition at line 113 of file bn254_if.hpp.
  113{ return self_ == rhs.self_; }
 
 
◆ getA()
◆ getB()
◆ mul()
  
  | 
        
          | void Fp2::mul | ( | const Fp2 & | rhs | ) |  |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
 
◆ power()
  
  | 
        
          | void Fp2::power | ( | const Mpz & | x | ) |  |  | inline | 
 
Definition at line 117 of file bn254_if.hpp.
  118    {
  120    }
T power(const T &x, const S &y)
 
 
◆ set()
  
  | 
        
          | void Fp2::set | ( | const std::string & | str | ) |  |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
Definition at line 105 of file bn254_if.hpp.
  106    {
  108    }
void set(const std::string &str)
 
 
◆ sub()
  
  | 
        
          | void Fp2::sub | ( | const Fp2 & | rhs | ) |  |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
 
◆ toString()
  
  | 
        
          | std::string Fp2::toString | ( |  | ) | const |  
          | throw | ( | std::exception ) |  |  |  |  | inline | 
 
Definition at line 109 of file bn254_if.hpp.
  110    {
  112    }
std::string toString(int base=10) const
 
 
◆ Ec2
The documentation for this class was generated from the following file:
- libraries/fc/libraries/ff/depends/ate-pairing/java/bn254_if.hpp