Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Public Member Functions | List of all members
libsnark::pb_variable< FieldT > Class Template Reference

#include <pb_variable.hpp>

Inheritance diagram for libsnark::pb_variable< FieldT >:
Inheritance graph
[legend]
Collaboration diagram for libsnark::pb_variable< FieldT >:
Collaboration graph
[legend]

Public Member Functions

 pb_variable (const var_index_t index=0)
 
void allocate (protoboard< FieldT > &pb, const std::string &annotation)
 
- Public Member Functions inherited from libsnark::variable< FieldT >
 variable (const var_index_t index=0)
 
linear_term< FieldT > operator* (const integer_coeff_t int_coeff) const
 
linear_term< FieldT > operator* (const FieldT &field_coeff) const
 
linear_combination< FieldT > operator+ (const linear_combination< FieldT > &other) const
 
linear_combination< FieldT > operator- (const linear_combination< FieldT > &other) const
 
linear_term< FieldT > operator- () const
 
bool operator== (const variable< FieldT > &other) const
 

Additional Inherited Members

- Public Attributes inherited from libsnark::variable< FieldT >
var_index_t index
 

Detailed Description

template<typename FieldT>
class libsnark::pb_variable< FieldT >

Definition at line 24 of file pb_variable.hpp.

Constructor & Destructor Documentation

◆ pb_variable()

template<typename FieldT >
libsnark::pb_variable< FieldT >::pb_variable ( const var_index_t  index = 0)
inline

Definition at line 27 of file pb_variable.hpp.

27 : variable<FieldT>(index){};

Member Function Documentation

◆ allocate()

template<typename FieldT >
void libsnark::pb_variable< FieldT >::allocate ( protoboard< FieldT > &  pb,
const std::string &  annotation 
)
Here is the caller graph for this function:

The documentation for this class was generated from the following file:
libsnark::variable::index
var_index_t index
Definition: variable.hpp:50