Performance Comparison of Function Evaluation Methods
Leo Liberti
Abstract
We perform a comparison of the performance and efficiency of four different function evaluation methods: black-box functions, binary trees, n-ary trees and string parsing. The test consists in evaluating 8 different functions of two variables x,y over 5000 floating point values of the pair (x,y). The outcome of the test indicates that the n-ary tree representation of algebraic expressions is the fastest method, closely followed by black-box function method, then by binary trees and lastly by string parsing.
Create a lesson
Related papers
Seven Limit Cycles in a Periodically Forced Three-Zone Equation
Chaoyu Hu, Jizheng Chen
Exact rational certificates and a Lean formalization of the eleven-variable Vasc inequality
Dakai Guo, Ruichen Qiu, Yichuan Cao et al.
RISR: Residual-Informed Scientific Equation Discovery with Large Language Models
Haobo Li, Wenshuo Zhang, Wenxiao Zhao et al.
A Finite Certificate for the Positive n=11 Vasc Inequality
Tiancheng Xu, Wensheng Yu
Parallel Integration over Simple Radical Extensions III: Antiderivatives in Terms of Special Functions
Sam Blake
Root isolation for analytic functions using cubic hermite interpolation
Christophe Raffalli