NativeFunctionEvaluator#
- class NativeFunctionEvaluator#
Class for holding functions supplied directly by underlying schemes.
- power_in_place(self: pyhelayers.NativeFunctionEvaluator, c: pyhelayers.CTile, p: int) None #
Raises every slot in given CTile to the power of p, in place.
- Parameters:
c – CTile to work on.
p (int) – power to raise by.
- total_product(self: pyhelayers.NativeFunctionEvaluator, v: pyhelayers.CTileVector, he: pyhelayers.HeContext) pyhelayers.CTile #
Compute product of given vector of CTiles elementwise. Does so in a depth-efficient manner.
- Parameters:
v (CTileVector) – Vector of CTiles to multiply together.
he – The HeContext.
- Returns:
The multiplication result.
- Return type:
-
class NativeFunctionEvaluator#
Class for holding functions supplied directly by underlying schemes.
Public Functions
-
NativeFunctionEvaluator(HeContext &he)#
Constructs a ready to use object.
- Parameters:
he – [in] the underlying context.
-
~NativeFunctionEvaluator()#
-
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.
-
NativeFunctionEvaluator(HeContext &he)#