helayers::NativeFunctionEvaluator Class Reference
Class for holding functions supplied directly by underlying schemes. More...
#include <NativeFunctionEvaluator.h>
Public Member Functions | |
NativeFunctionEvaluator (HeContext &he) | |
Constructs a ready to use object. More... | |
NativeFunctionEvaluator (const NativeFunctionEvaluator &src)=delete | |
Copy constructor deleted. Construct new objects when needed. | |
NativeFunctionEvaluator & | operator= (const NativeFunctionEvaluator &src)=delete |
Assignment deleted. Construct new objects when needed. | |
void | powerInPlace (CTile &c, int p) const |
Raises every slot in given CTile to the power of p. More... | |
void | totalProduct (CTile &result, const std::vector< CTile > &multiplicands) const |
Compute product of given vector of CTiles elementwise. More... | |
Detailed Description
Class for holding functions supplied directly by underlying schemes.
Constructor & Destructor Documentation
◆ NativeFunctionEvaluator()
helayers::NativeFunctionEvaluator::NativeFunctionEvaluator | ( | HeContext & | he | ) |
Constructs a ready to use object.
- Parameters
-
[in] he the underlying context.
Member Function Documentation
◆ powerInPlace()
void helayers::NativeFunctionEvaluator::powerInPlace | ( | CTile & | c, |
int | p | ||
) | const |
◆ totalProduct()
void helayers::NativeFunctionEvaluator::totalProduct | ( | CTile & | result, |
const std::vector< CTile > & | multiplicands | ||
) | const |
Compute product of given vector of CTiles elementwise.
Does so in a depth-efficient manner.
- Parameters
-
[out] result CTile to store result [in] multiplicands vector of CTiles to multiply together.
The documentation for this class was generated from the following files:
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/NativeFunctionEvaluator.h
- /opt/IBM/FHE-distro/ML-HElib/src/helayers/hebase/NativeFunctionEvaluator.cpp