Factorized Horner Lookup Lookup-interp
Method of evaluation
0
100
200
300
400
500
600
Time in ms
i5-8250U
i7-4790K
Processor
Figure 1: Running time of evaluating ψ
7,2
at 10
7
points.
Factorized Horner Lookup Lookup-interp
Method of evaluation
10
-15
10
-13
10
-11
10
-9
10
-7
10
-5
10
-3
10
-1
10
0
Relative error
Figure 2: Relative error of evaluations of ψ
7,2
. Note the
logarithmic scale of the y-axis.
6 CONCLUSION
We have developed an algorithm and created a tool to
generate a C/C++ library for Wendland’s compactly
supported Radial Basis Functions with arbitrary
parameters in a factorized form. This allows for the
efficient and numerically accurate evaluation of these
functions. This is desirable since previously they
were generated in a non-optimal form or had to be
evaluated by hand, which is a tedious and error prone
process. Additionally, the software generates a whole
family of Wendland functions suitable for solving
collocation problems for each initial Wendland
function ψ
l,k
and its support radius c
−1
. The tool
takes less than a second to output the .c and .h files
for all the Wendland function families up to and
including order 8.
ACKNOWLEDGEMENT
This research was supported by the Icelandic Re-
search Fund (Rann
´
ıs) in grant number 152429-051,
Lyapunov Methods and Stochastic Stability.
REFERENCES
Argaez, C., Hafstein, S., and Giesl, P. (2017). Wendland
functions - a C++ code to compute them. In Proceed-
ings of the 7th International Conference on Simulation
and Modeling Methodologies, Technologies and Ap-
plications - Volume 1: SIMULTECH,, pages 323–330.
INSTICC, SciTePress.
Bjornsson, H. and Hafstein, S. (2018). Verification of a nu-
merical solution to a collocation problem. In Proceed-
ings of the 15th International Conference on Informat-
ics in Control, Automation and Robotics - Volume 1:
CTDE,, pages 587–594. INSTICC, SciTePress.
Bjornsson, H., Hafstein, S., Giesl, P., Gudmundsson, S.,
and Scalas, E. (2019). Computation of the stochastic
basin of attraction by rigorous construction of a Lya-
punov function. Discrete and Continuous Dynamical
Systems-Series B (to appear).
Buhmann, M. (2000). Radial basis functions. In Acta nu-
merica, 2000, volume 9 of Acta Numer., pages 1–38.
Cambridge Univ. Press, Cambridge.
Buhmann, M. (2003). Radial basis functions: theory and
implementations, volume 12 of Cambridge Mono-
graphs on Applied and Computational Mathematics.
Cambridge University Press, Cambridge.
Burrus, C. S., Fox, J. W., Sitton, G. A., and Treitel, S.
(2003). Horner’s method for evaluating and deflating
polynomials. DSP Software Notes, Rice University,
Nov, 26.
Floater, M. and Iske, A. (1996). Multistep scattered data
interpolation using compactly supported Radial Basis
Functions. J. Comput. Appl. Math., 73(1-2):65–78.
Franke, C. and Schaback, R. (1998). Solving partial differ-
ential equations by collocation using radial basis func-
tions. Appl. Math. Comput., 93(1):73–82.
Giesl, P. (2007). Construction of Global Lyapunov Func-
tions Using Radial Basis Functions, volume 1904
of Lecture Notes in Mathematics. Springer-Verlag,
Berlin.
Giesl, P. (2008). Construction of a local and global Lya-
punov function using radial basis functions. IMA J.
Appl. Math., 73(5):782–802.
Giesl, P. and Hafstein, S. (2015). Computation and verifica-
tion of Lyapunov functions. SIAM Journal on Applied
Dynamical Systems, 14(4):1663–1698.
Hafstein, S., Gudmundsson, S., Giesl, P., and Scalas,
E. (2018). Lyapunov function computation for au-
tonomous linear stochastic differential equations us-
ing sum-of-squares programming. Discrete and Con-
tinuous Dynamical Systems - Series B, 23(2):939–950.
Khalil, H. (2002). Nonlinear systems. Pear, 3. edition.
Algorithm and Software to Generate Code for Wendland Functions in Factorized Form
161