| 
    Clearmatics Libsnark
    0.1
    
   C++ library for zkSNARK proofs 
   | 
 
#include <variable.hpp>

Public Member Functions | |
| 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 | 
Public Attributes | |
| var_index_t | index | 
A variable represents a formal expression of the form "x_{index}".
Definition at line 47 of file variable.hpp.
      
  | 
  inline | 
Definition at line 52 of file variable.hpp.
| linear_term<FieldT> libsnark::variable< FieldT >::operator* | ( | const FieldT & | field_coeff | ) | const | 
| linear_term<FieldT> libsnark::variable< FieldT >::operator* | ( | const integer_coeff_t | int_coeff | ) | const | 
| linear_combination<FieldT> libsnark::variable< FieldT >::operator+ | ( | const linear_combination< FieldT > & | other | ) | const | 
| linear_term<FieldT> libsnark::variable< FieldT >::operator- | ( | ) | const | 
| linear_combination<FieldT> libsnark::variable< FieldT >::operator- | ( | const linear_combination< FieldT > & | other | ) | const | 
| bool libsnark::variable< FieldT >::operator== | ( | const variable< FieldT > & | other | ) | const | 
| var_index_t libsnark::variable< FieldT >::index | 
Definition at line 50 of file variable.hpp.
 1.8.17