|
ComputeFHE 1.0
General-Purpose Privacy-Preserving Computation Library for TFHE
|
A bit-vector representation of an encrypted or plaintext word. More...
#include <FixedPoint.h>


Public Member Functions | |
| FixedPoint () | |
| Default constructor. | |
| FixedPoint (size_t n) | |
| Constructs a bit-vector of size n. | |
| FixedPoint (vector< BinaryDigit >::const_iterator begin, vector< BinaryDigit >::const_iterator end) | |
| Constructs a bit-vector from a range of BinaryDigit proxies. | |
| FixedPoint (std::initializer_list< BinaryDigit > list) | |
| Constructs a bit-vector from an initializer list of bits. | |
| FixedPoint (const vector< BinaryDigit > &other) | |
| Constructs from an existing vector of BinaryDigit proxies. | |
| FixedPoint (const vector< LWECiphertext > &other) | |
| Constructs from a vector of LWE ciphertexts. | |
| FixedPoint (const vector< LWEPlaintext > &other) | |
| Constructs from a vector of plaintext bits. | |
| bool | is_ct () const |
| Determines if the bit-vector represents encrypted data. | |
A bit-vector representation of an encrypted or plaintext word.
Inherits from std::vector<BinaryDigit>. This class represents multi-bit data (such as integers or fixed-point values) where each index corresponds to a single bit position. It is the primary data structure consumed by the BaseALU.
| bool computefhe::FixedPoint::is_ct | ( | ) | const |
Determines if the bit-vector represents encrypted data.