Clearmatics Libff  0.1
C++ library for Finite Fields and Elliptic Curves
Public Member Functions | Public Attributes | Friends | List of all members
libff::mnt4_ate_add_coeffs Struct Reference

#include <mnt4_pairing.hpp>

Collaboration diagram for libff::mnt4_ate_add_coeffs:
Collaboration graph
[legend]

Public Member Functions

bool operator== (const mnt4_ate_add_coeffs &other) const
 

Public Attributes

mnt4_Fq2 c_L1
 
mnt4_Fq2 c_RZ
 

Friends

std::ostream & operator<< (std::ostream &out, const mnt4_ate_add_coeffs &dc)
 
std::istream & operator>> (std::istream &in, mnt4_ate_add_coeffs &dc)
 

Detailed Description

Definition at line 88 of file mnt4_pairing.hpp.

Member Function Documentation

◆ operator==()

bool libff::mnt4_ate_add_coeffs::operator== ( const mnt4_ate_add_coeffs other) const

Definition at line 80 of file mnt4_pairing.cpp.

81 {
82  return (this->c_L1 == other.c_L1 && this->c_RZ == other.c_RZ);
83 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const mnt4_ate_add_coeffs dc 
)
friend

Definition at line 85 of file mnt4_pairing.cpp.

86 {
87  out << ac.c_L1 << OUTPUT_SEPARATOR << ac.c_RZ;
88  return out;
89 }

◆ operator>>

std::istream& operator>> ( std::istream &  in,
mnt4_ate_add_coeffs dc 
)
friend

Definition at line 91 of file mnt4_pairing.cpp.

92 {
93  in >> ac.c_L1;
95  in >> ac.c_RZ;
96  return in;
97 }

Member Data Documentation

◆ c_L1

mnt4_Fq2 libff::mnt4_ate_add_coeffs::c_L1

Definition at line 89 of file mnt4_pairing.hpp.

◆ c_RZ

mnt4_Fq2 libff::mnt4_ate_add_coeffs::c_RZ

Definition at line 90 of file mnt4_pairing.hpp.


The documentation for this struct was generated from the following files:
libff::mnt4_ate_add_coeffs::c_L1
mnt4_Fq2 c_L1
Definition: mnt4_pairing.hpp:89
OUTPUT_SEPARATOR
#define OUTPUT_SEPARATOR
Definition: serialization.hpp:69
libff::consume_OUTPUT_SEPARATOR
void consume_OUTPUT_SEPARATOR(std::istream &in)