CompiledEvaluator

CompiledEvaluator()

An compiled evaluator of an expression. This will give the highest performance of all evaluators.

Methods

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

evaluate

CompiledEvaluator.evaluate(inputs)

Evaluate the expression for multiple inputs and return the result.

evaluate_complex

CompiledEvaluator.evaluate_complex(inputs)

Evaluate the expression for multiple inputs and return the result.

evaluate_complex_single

CompiledEvaluator.evaluate_complex_single(inputs)

Evaluate the expression for multiple inputs and return the result, which is a single value.

evaluate_single

CompiledEvaluator.evaluate_single(inputs)

Evaluate the expression for multiple inputs and return the result, which is a single value.

load

CompiledEvaluator.load(_cls, filename, function_name, output_len)

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