helayers::HelibConfig Struct Reference
A class for holding HElib configuration parameters. More...
#include <HelibConfig.h>
Public Member Functions | |
| void | initPreset (HelibPreset preset) |
| Initializes configuration based on preset. | |
| void | load (std::istream &in) |
| Loads this HelibConfig from a binary stream. More... | |
| void | save (std::ostream &out) const |
| Saves this HelibConfig to a binary stream. More... | |
Public Attributes | |
| unsigned long | m |
| unsigned long | r |
| unsigned long | L |
| unsigned long | p = -1 |
| unsigned long | c = 2 |
| Number of columns of Key-Switching matix (default = 2 or 3) | |
| bool | enableConjugate = false |
| Whether conjugate operation will be enabled in HelibCKKS. | |
Detailed Description
A class for holding HElib configuration parameters.
It doesn't yet cover all of HElib flags.
Member Function Documentation
◆ load()
| void helayers::HelibConfig::load | ( | std::istream & | in | ) |
Loads this HelibConfig from a binary stream.
- Parameters
-
in The stream to load from.
◆ save()
| void helayers::HelibConfig::save | ( | std::ostream & | out | ) | const |
Saves this HelibConfig to a binary stream.
- Parameters
-
out The stream to save to.
The documentation for this struct was generated from the following files:
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/helib/HelibConfig.h
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/helib/HelibConfig.cpp
1.8.17