Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
field_utils.hpp File Reference
#include <cstdint>
#include <libff/algebra/fields/bigint.hpp>
#include <libff/common/double.hpp>
#include <libff/common/utils.hpp>
#include <libff/algebra/fields/field_utils.tcc>
Include dependency graph for field_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  libff
 

Functions

template<typename FieldT >
std::enable_if< std::is_same< FieldT, Double >::value, FieldT >::type libff::get_root_of_unity (const size_t n)
 
template<typename FieldT >
std::enable_if<!std::is_same< FieldT, Double >::value, FieldT >::type libff::get_root_of_unity (const size_t n)
 
template<typename FieldT >
std::vector< FieldT > libff::pack_int_vector_into_field_element_vector (const std::vector< size_t > &v, const size_t w)
 
template<typename FieldT >
std::vector< FieldT > libff::pack_bit_vector_into_field_element_vector (const bit_vector &v, const size_t chunk_bits)
 
template<typename FieldT >
std::vector< FieldT > libff::pack_bit_vector_into_field_element_vector (const bit_vector &v)
 
template<typename FieldT >
std::vector< FieldT > libff::convert_bit_vector_to_field_element_vector (const bit_vector &v)
 
template<typename FieldT >
bit_vector libff::convert_field_element_vector_to_bit_vector (const std::vector< FieldT > &v)
 
template<typename FieldT >
bit_vector libff::convert_field_element_to_bit_vector (const FieldT &el)
 
template<typename FieldT >
bit_vector libff::convert_field_element_to_bit_vector (const FieldT &el, const size_t bitcount)
 
template<typename FieldT >
FieldT libff::convert_bit_vector_to_field_element (const bit_vector &v)
 
template<typename FieldT >
void libff::batch_invert (std::vector< FieldT > &vec)
 

Detailed Description

Author
This file is part of libff, developed by SCIPR Lab and contributors (see AUTHORS).

Definition in file field_utils.hpp.