nil::crypto3::zk::components::blueprint_variable_vector< FieldType > Class Template Reference

#include <blueprint_variable.hpp>

+ Inheritance diagram for nil::crypto3::zk::components::blueprint_variable_vector< FieldType >:
+ Collaboration diagram for nil::crypto3::zk::components::blueprint_variable_vector< FieldType >:

Public Member Functions

void allocate (blueprint< field_type > &bp, const std::size_t n)
 
 blueprint_variable_vector ()
 
 blueprint_variable_vector (std::size_t count, const blueprint_variable< field_type > &value)
 
 blueprint_variable_vector (typename contents::const_iterator first, typename contents::const_iterator last)
 
 blueprint_variable_vector (typename contents::const_reverse_iterator first, typename contents::const_reverse_iterator last)
 
void fill_with_bits (blueprint< field_type > &bp, const std::vector< bool > &bits) const
 
void fill_with_bits_of_field_element (blueprint< field_type > &bp, const field_value_type &r) const
 
void fill_with_bits_of_ulong (blueprint< field_type > &bp, const unsigned long i) const
 
void fill_with_field_elements (blueprint< field_type > &bp, const std::vector< field_value_type > &vals) const
 
std::vector< bool > get_bits (const blueprint< field_type > &bp) const
 
field_value_type get_field_element_from_bits (const blueprint< field_type > &bp) const
 
std::vector< field_value_type > get_vals (const blueprint< field_type > &bp) const
 

Constructor & Destructor Documentation

◆ blueprint_variable_vector() [1/4]

template<typename FieldType >
nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::blueprint_variable_vector ( )
inline

◆ blueprint_variable_vector() [2/4]

template<typename FieldType >
nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::blueprint_variable_vector ( std::size_t  count,
const blueprint_variable< field_type > &  value 
)
inline

◆ blueprint_variable_vector() [3/4]

template<typename FieldType >
nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::blueprint_variable_vector ( typename contents::const_iterator  first,
typename contents::const_iterator  last 
)
inline

◆ blueprint_variable_vector() [4/4]

template<typename FieldType >
nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::blueprint_variable_vector ( typename contents::const_reverse_iterator  first,
typename contents::const_reverse_iterator  last 
)
inline

Member Function Documentation

◆ allocate()

template<typename FieldType >
void nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::allocate ( blueprint< field_type > &  bp,
const std::size_t  n 
)
inline

◆ fill_with_bits()

template<typename FieldType >
void nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::fill_with_bits ( blueprint< field_type > &  bp,
const std::vector< bool > &  bits 
) const
inline

◆ fill_with_bits_of_field_element()

template<typename FieldType >
void nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::fill_with_bits_of_field_element ( blueprint< field_type > &  bp,
const field_value_type &  r 
) const
inline

◆ fill_with_bits_of_ulong()

template<typename FieldType >
void nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::fill_with_bits_of_ulong ( blueprint< field_type > &  bp,
const unsigned long  i 
) const
inline

◆ fill_with_field_elements()

template<typename FieldType >
void nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::fill_with_field_elements ( blueprint< field_type > &  bp,
const std::vector< field_value_type > &  vals 
) const
inline

◆ get_bits()

template<typename FieldType >
std::vector<bool> nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::get_bits ( const blueprint< field_type > &  bp) const
inline

◆ get_field_element_from_bits()

template<typename FieldType >
field_value_type nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::get_field_element_from_bits ( const blueprint< field_type > &  bp) const
inline

◆ get_vals()

template<typename FieldType >
std::vector<field_value_type> nil::crypto3::zk::components::blueprint_variable_vector< FieldType >::get_vals ( const blueprint< field_type > &  bp) const
inline

The documentation for this class was generated from the following file: