CompiledSimdRealEvaluator

CompiledSimdRealEvaluator

CompiledSimdRealEvaluator()

A compiled evaluator of an expression that packs 4 double using SIMD.

Methods

Name Description
evaluate Evaluate the expression for multiple inputs and return the result.
load Load a compiled library, previously generated with Evaluator.compile().

evaluate

CompiledSimdRealEvaluator.evaluate(inputs: npt.ArrayLike) -> npt.NDArray[np.float64]

Evaluate the expression for multiple inputs and return the result.

load

CompiledSimdRealEvaluator.load(
    filename: str,
    function_name: str,
    input_len: int,
    output_len: int,
) -> CompiledSimdRealEvaluator

Load a compiled library, previously generated with Evaluator.compile().