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

#include <mnt6_pairing.hpp>

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

Public Member Functions

bool operator== (const mnt6_ate_dbl_coeffs &other) const
 

Public Attributes

mnt6_Fq3 c_H
 
mnt6_Fq3 c_4C
 
mnt6_Fq3 c_J
 
mnt6_Fq3 c_L
 

Friends

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

Detailed Description

Definition at line 76 of file mnt6_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 53 of file mnt6_pairing.cpp.

54 {
55  return (
56  this->c_H == other.c_H && this->c_4C == other.c_4C &&
57  this->c_J == other.c_J && this->c_L == other.c_L);
58 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 60 of file mnt6_pairing.cpp.

61 {
62  out << dc.c_H << OUTPUT_SEPARATOR << dc.c_4C << OUTPUT_SEPARATOR << dc.c_J
63  << OUTPUT_SEPARATOR << dc.c_L;
64  return out;
65 }

◆ operator>>

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

Definition at line 67 of file mnt6_pairing.cpp.

68 {
69  in >> dc.c_H;
71  in >> dc.c_4C;
73  in >> dc.c_J;
75  in >> dc.c_L;
76 
77  return in;
78 }

Member Data Documentation

◆ c_4C

mnt6_Fq3 libff::mnt6_ate_dbl_coeffs::c_4C

Definition at line 78 of file mnt6_pairing.hpp.

◆ c_H

mnt6_Fq3 libff::mnt6_ate_dbl_coeffs::c_H

Definition at line 77 of file mnt6_pairing.hpp.

◆ c_J

mnt6_Fq3 libff::mnt6_ate_dbl_coeffs::c_J

Definition at line 79 of file mnt6_pairing.hpp.

◆ c_L

mnt6_Fq3 libff::mnt6_ate_dbl_coeffs::c_L

Definition at line 80 of file mnt6_pairing.hpp.


The documentation for this struct was generated from the following files:
libff::mnt6_ate_dbl_coeffs::c_H
mnt6_Fq3 c_H
Definition: mnt6_pairing.hpp:77
OUTPUT_SEPARATOR
#define OUTPUT_SEPARATOR
Definition: serialization.hpp:69
libff::consume_OUTPUT_SEPARATOR
void consume_OUTPUT_SEPARATOR(std::istream &in)