Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
libff::alt_bn128_ate_G1_precomp Struct Reference

#include <alt_bn128_pairing.hpp>

Collaboration diagram for libff::alt_bn128_ate_G1_precomp:

Public Member Functions

bool operator== (const alt_bn128_ate_G1_precomp &other) const
 

Public Attributes

alt_bn128_Fq PX
 
alt_bn128_Fq PY
 

Friends

std::ostream & operator<< (std::ostream &out, const alt_bn128_ate_G1_precomp &prec_P)
 
std::istream & operator>> (std::istream &in, alt_bn128_ate_G1_precomp &prec_P)
 

Detailed Description

Definition at line 22 of file alt_bn128_pairing.hpp.

Member Function Documentation

◆ operator==()

bool libff::alt_bn128_ate_G1_precomp::operator== ( const alt_bn128_ate_G1_precomp & other) const

Definition at line 18 of file alt_bn128_pairing.cpp.

19{
20 return (this->PX == other.PX &&
21 this->PY == other.PY);
22}

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const alt_bn128_ate_G1_precomp & prec_P )
friend

Definition at line 24 of file alt_bn128_pairing.cpp.

25{
26 out << prec_P.PX << OUTPUT_SEPARATOR << prec_P.PY;
27
28 return out;
29}
#define OUTPUT_SEPARATOR

◆ operator>>

std::istream & operator>> ( std::istream & in,
alt_bn128_ate_G1_precomp & prec_P )
friend

Definition at line 31 of file alt_bn128_pairing.cpp.

32{
33 in >> prec_P.PX;
35 in >> prec_P.PY;
36
37 return in;
38}
void consume_OUTPUT_SEPARATOR(std::istream &in)

Member Data Documentation

◆ PX

alt_bn128_Fq libff::alt_bn128_ate_G1_precomp::PX

Definition at line 23 of file alt_bn128_pairing.hpp.

◆ PY

alt_bn128_Fq libff::alt_bn128_ate_G1_precomp::PY

Definition at line 24 of file alt_bn128_pairing.hpp.


The documentation for this struct was generated from the following files: