<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN"
                  "JATS-archivearticle1.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">jrepstat</journal-id>
<journal-title-group>
<journal-title>Journal of Reproducible Statistics</journal-title>
</journal-title-group>
<issn publication-format="electronic">3043-2790</issn>
<publisher>
<publisher-name>FAIR Press</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<title-group>
<article-title>libmatern: Fast and Accurate Matérn Covariance Evaluation on SIMD CPUs and CUDA GPUs</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0009-0005-6089-0011</contrib-id>
<name>
<surname>Mann</surname>
<given-names>Daniel</given-names>
</name>
<aff>Chair of Applied Stochastics, University of Mannheim</aff>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ehrhardt</surname>
<given-names>Matthis</given-names>
</name>
<aff>Chair of Applied Stochastics, University of Mannheim</aff>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-6919-7249</contrib-id>
<name>
<surname>Schlather</surname>
<given-names>Martin</given-names>
</name>
<aff>Chair of Applied Stochastics, University of Mannheim</aff>
</contrib>
</contrib-group>
<pub-date date-type="pub" publication-format="electronic">
<year>2026</year>
</pub-date>
<volume>1</volume>
<elocation-id>13</elocation-id>
<history>
<date date-type="received" iso-8601-date="2026-10-30"><day>30</day><month>10</month><year>2026</year></date>
<date date-type="accepted" iso-8601-date="2026-11-14"><day>14</day><month>11</month><year>2026</year></date>
</history>
<permissions>
<license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution and reproduction in any medium provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="html" xlink:href="https://jrepstat.fairpressjournals.com/articles/libmatern-fast-and-accurate-mat-rn-covariance-evaluation-on-simd-cpus-and-cuda-gpus/"/>
<abstract>
<p>Efficient and accurate evaluation of the Matérn covariance function is essential for computationally demanding spatial statistics and Gaussian-process applications. We present libmatern, a numerical library that substantially accelerates Matérn covariance evaluation on SIMD CPUs and CUDA GPUs while maintaining competitive or improved numerical accuracy. On synthetic benchmarks, our single-threaded AVX-512 implementation is 6.6× faster than the fastest tested external CPU implementation for a random mixture of 2²⁵ evaluations, and 3.9× to 21× (median 7.5×) faster across eight test datasets. On the tested GPU, our CUDA implementation achieves kernel-level speedups of 1.7× to 6.8× (median 2.3×) over the fastest tested external implementations, with an end-to-end median speedup of 1.1× when host–device transfers are included. These performance gains are accompanied by competitive or improved numerical accuracy across the investigated parameter regimes. As a novelty of our approach we rigorously incorporate the Matérn prefactor directly into numerical formulations for the modified Bessel function Kν, reducing intermediate floating-point range restrictions and improving accuracy on nearly all tested datasets even without SIMD execution. Architecture-dependent algorithm selection and hardware-specific optimisation provide additional performance gains. The results demonstrate that mathematical reformulation and hardware-specific optimisation provide complementary benefits for accurate and efficient Matérn covariance evaluation.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Matérn covariance</kwd>
<kwd>modified Bessel function of the second kind</kwd>
<kwd>SIMD vectorisation</kwd>
<kwd>GPU computing</kwd>
<kwd>reproducible benchmarking</kwd>
<kwd>Sobolev kernel</kwd>
</kwd-group>
<custom-meta-group>
<custom-meta>
<meta-name>data-availability-route</meta-name>
<meta-value>open</meta-value>
</custom-meta>
<custom-meta>
<meta-name>founding-article</meta-name>
<meta-value>true</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="secU003Aintro">
  <title><named-content content-type="header-section-number">1</named-content>
  Introduction</title>
  <p>The Matérn covariance function, also called Sobolev kernel, is
  widely used in spatial statistics and Gaussian-process modelling,
  including applications in geostatistics (Chaudhuri et al., 2025),
  robotics (Jaquier et al., 2022) and biomedical research (Bahg et al.,
  2020). Constructing a covariance matrix for
  <inline-formula><alternatives>
  <tex-math><![CDATA[n]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math></alternatives></inline-formula>
  observation sites of a non-stationary process requires
  <inline-formula><alternatives>
  <tex-math><![CDATA[O(n^2)]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>n</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
  covariance evaluations. Although matrix factorisation may entail
  <inline-formula><alternatives>
  <tex-math><![CDATA[O(n^3)]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>n</mml:mi><mml:mn>3</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
  operations, repeated covariance evaluations can contribute appreciably
  to the cost of inference, prediction and simulation, particularly when
  the smoothness parameter varies or must be estimated (Stein,
  2005).</p>
  <p>The mathematical formula for the Matérn covariance multiplies the
  modified Bessel function <inline-formula><alternatives>
  <tex-math><![CDATA[K_\nu]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
  by a Gamma-normalised power. General-purpose special-function
  implementations usually evaluate <inline-formula><alternatives>
  <tex-math><![CDATA[K_\nu]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
  or an exponentially scaled form, as in
  <monospace>Bessels.jl</monospace> (JuliaMath, n.d.-a). However,
  separate evaluation of these factors can produce intermediate overflow
  or underflow, so that directly evaluating the normalised covariance
  offers an alternative numerical formulation.</p>
  <p>Our principal contribution is the incorporation of the complete
  Matérn prefactor into various numerical representations of
  <inline-formula><alternatives>
  <tex-math><![CDATA[K_{\nu}]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>.
  The resulting formulae are combined by architecture-dependent routing
  and are implemented for scalar CPUs, SIMD CPUs and CUDA GPUs. Accuracy
  is assessed against high-precision reference values on different
  datasets, while timings distinguish scalar reformulation, SIMD
  execution, GPU kernel evaluation and host–device transfer
  overhead.</p>
  <p>Section <xref alt="2" rid="secU003Amethods">2</xref> develops the
  formulae, Section <xref alt="3" rid="secU003Aimplementation">3</xref>
  describes the implementation, and
  Section <xref alt="4" rid="secU003Aexperiment">4</xref> specifies the
  test design. The latter concerns the numerical covariance kernel
  rather than complete Gaussian-process pipelines. Results and
  limitations are presented in
  Sections <xref alt="5" rid="secU003Aresults">5</xref>
  and <xref alt="6" rid="secU003Adiscussion">6</xref>, respectively.
  Additional figures and tables are provided in the Appendix.</p>
</sec>
<sec id="secU003Amethods">
  <title><named-content content-type="header-section-number">2</named-content>
  Mathematical background and numerical formulation</title>
  <sec id="matérn-covariance">
    <title><named-content content-type="header-section-number">2.1</named-content>
    Matérn covariance</title>
    <p>The normalised Whittle–Matérn covariance function is defined for
    <inline-formula><alternatives>
    <tex-math><![CDATA[\nu>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[z>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    as <styled-content id="eqU003Amatern"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:matern}
     M_\nu(z)=\frac{2}{\Gamma(\nu)}\left(\frac z2\right)^\nu K_\nu(z),
    \end{equation} \qquad(1)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>2</mml:mn><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mi>ν</mml:mi></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where <inline-formula><alternatives>
    <tex-math><![CDATA[\Gamma]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi mathvariant="normal">Γ</mml:mi></mml:math></alternatives></inline-formula>
    denotes the Gamma function and <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    the modified Bessel function of the second kind. The dimensionless
    argument <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    separates the statistical parameterisation from the evaluation of
    the numerical kernel. For marginal variance
    <inline-formula><alternatives>
    <tex-math><![CDATA[\sigma^2>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi>σ</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    spatial scale <inline-formula><alternatives>
    <tex-math><![CDATA[s>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>s</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    and smoothness <inline-formula><alternatives>
    <tex-math><![CDATA[\nu>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    the Whittle–Matérn parameterisation is <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
    \label{eq:param}
     C_{\sigma^2,\nu,s}(h)=\sigma^2M_\nu(z),
     \qquad z=h/s,
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msup><mml:mi>σ</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>σ</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mi>h</mml:mi><mml:mi>/</mml:mi><mml:mi>s</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
    where <inline-formula><alternatives>
    <tex-math><![CDATA[h\geq0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>h</mml:mi><mml:mo>≥</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    is the Euclidean distance between two observation sites. The Matérn
    parameterisation sets <inline-formula><alternatives>
    <tex-math><![CDATA[z=\sqrt{2\nu}h/s]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:msqrt><mml:mi>h</mml:mi><mml:mi>/</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    and the Handcock–Wallis parameterisation defines
    <inline-formula><alternatives>
    <tex-math><![CDATA[z=2\sqrt{\nu}h/s]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:msqrt><mml:mi>ν</mml:mi></mml:msqrt><mml:mi>h</mml:mi><mml:mi>/</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>.</p>
    <p>At <inline-formula><alternatives>
    <tex-math><![CDATA[z=0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    the normalised covariance is defined by continuity. For
    <inline-formula><alternatives>
    <tex-math><![CDATA[\nu>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    the small-argument behaviour is <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{align*}
     K_\nu(z)&\sim\frac12\Gamma(\nu)\left(\frac z2\right)^{-\nu},
     \qquad z\to0^+.
    \end{align*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>∼</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mi>−</mml:mi><mml:mi>ν</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>z</mml:mi><mml:mo>→</mml:mo><mml:msup><mml:mn>0</mml:mn><mml:mo>+</mml:mo></mml:msup><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
    Thus <inline-formula><alternatives>
    <tex-math><![CDATA[M_\nu(0)=1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[M_{\nu}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    is a correlation function. For sufficiently small
    <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    or large <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
    the factor <inline-formula><alternatives>
    <tex-math><![CDATA[(z/2)^\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>ν</mml:mi></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
    may underflow while <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    becomes very large, even though the product in
    Equation <xref alt="(1)" rid="eqU003Amatern">(1)</xref> is within
    <inline-formula><alternatives>
    <tex-math><![CDATA[(0,1]]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>.
    The formulations below incorporate the prefactor into the numerical
    methods to avoid these intermediate range limitations.</p>
  </sec>
  <sec id="numerical-evaluation-of-the-modified-bessel-function">
    <title><named-content content-type="header-section-number">2.2</named-content>
    Numerical evaluation of the modified Bessel function</title>
    <p>For the reader’s ease we present here known mathematical
    background that is needed for the numerical evaluation of
    <inline-formula><alternatives>
    <tex-math><![CDATA[K_{\nu}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    in our implementation. For non-integer order, the modified Bessel
    functions of the first and second kind satisfy (NIST Digital Library
    of Mathematical Functions, n.d.-c, n.d.-e)
    <styled-content id="eqU003Ainteger-cancellation"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:integer-cancellation}
     K_\nu(z)=\frac{\pi}{2\sin(\pi\nu)}\left[I_{-\nu}(z)-I_\nu(z)\right],
     \qquad \nu\notin\mathbb Z, z > 0,
    \end{equation} \qquad(2)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mrow><mml:mi mathvariant="normal">sin</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>π</mml:mi><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>ν</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>ν</mml:mi><mml:mo>∉</mml:mo><mml:mi mathvariant="double-struck">ℤ</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    and
    <styled-content id="eqU003Abessel-I"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:bessel-I}
     I_\nu(z)=\sum_{m=0}^\infty\frac{1}{m!\,\Gamma(m+\nu+1)}
     \left(\frac z2\right)^{2m+\nu}.
    \end{equation} \qquad(3)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>m</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>ν</mml:mi></mml:mrow></mml:msup><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>3</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    For integer <inline-formula><alternatives>
    <tex-math><![CDATA[n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math></alternatives></inline-formula>,
    we have <inline-formula><alternatives>
    <tex-math><![CDATA[I_{-n}(z)=I_n(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    since <inline-formula><alternatives>
    <tex-math><![CDATA[1/\Gamma(m-n+1)=0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    for <inline-formula><alternatives>
    <tex-math><![CDATA[m=0,\ldots,n-1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
    Hence, both the numerator and the sine in
    Equation <xref alt="(2)" rid="eqU003Ainteger-cancellation">(2)</xref>
    vanish as <inline-formula><alternatives>
    <tex-math><![CDATA[\nu\to n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>→</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>.
    For non-integer <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
    substitution of
    Equation <xref alt="(3)" rid="eqU003Abessel-I">(3)</xref> gives
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     K_\nu(z)=\frac{\pi}{2\sin(\pi\nu)}\Biggl[ \sum_{m=0}^\infty\frac{(z/2)^{2m-\nu}}{m!\,\Gamma(m-\nu+1)} -\sum_{m=0}^\infty\frac{(z/2)^{2m+\nu}}{m!\,\Gamma(m+\nu+1)}\Biggr].
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mrow><mml:mi mathvariant="normal">sin</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>π</mml:mi><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo minsize="300%" maxsize="300%" stretchy="true" form="prefix">[</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mi>ν</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>ν</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo minsize="300%" maxsize="300%" stretchy="true" form="postfix">]</mml:mo><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    Euler’s reflection formula and the Gamma-function recurrence formula
    imply <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     \Gamma(\nu)\Gamma(1-\nu)=\frac{\pi}{\sin(\pi\nu)},
     \qquad
     \frac{\Gamma(1-\nu)}{\Gamma(k+1-\nu)}=\frac{1}{(1-\nu)_k},
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="normal">sin</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>π</mml:mi><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mfrac><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
    where <inline-formula><alternatives>
    <tex-math><![CDATA[(a)_k=\Gamma(a+k)/\Gamma(a)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>a</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>a</mml:mi><mml:mo>+</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>/</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    is the so-called rising factorial. Consequently,
    <styled-content id="eqU003Abessel-power"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:bessel-power}\begin{aligned}
     K_\nu(z)=\frac12\left(\frac z2\right)^{-\nu}\Biggl\{&
     \Gamma(\nu)\left[1+\sum_{k=1}^\infty\frac{(z/2)^{2k}}{k!\,(1-\nu)_k}\right] \\
     &-\left(\frac z2\right)^{2\nu}\frac{\pi}{\sin(\pi\nu)\Gamma(\nu+1)}
     \left[1+\sum_{k=1}^\infty\frac{(z/2)^{2k}}{k!\,(1+\nu)_k}\right]\Biggr\}.  
    \end{aligned}
    \end{equation} \qquad(4)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mi>−</mml:mi><mml:mi>ν</mml:mi></mml:mrow></mml:msup><mml:mo minsize="300%" maxsize="300%" stretchy="true" form="prefix">{</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mi>−</mml:mi><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:msup><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="normal">sin</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>π</mml:mi><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mo minsize="300%" maxsize="300%" stretchy="true" form="postfix">}</mml:mo><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>4</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    This representation separates the dominant powers of
    <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
    but direct evaluation becomes poorly conditioned near integer orders
    because one of the separate terms contains a factor proportional to
    <inline-formula><alternatives>
    <tex-math><![CDATA[1/\sin(\pi\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mrow><mml:mi mathvariant="normal">sin</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>π</mml:mi><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>.</p>
    <p>Temme’s series avoids this near-integer cancellation (Temme,
    1975). For general positive order, write
    <styled-content id="eqU003Aorder-reduction"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:order-reduction}
     m=\left\lfloor\nu+\frac12\right\rfloor,
     \qquad \alpha=\nu-m,
     \qquad -\frac12\leq\alpha<\frac12.
    \end{equation} \qquad(5)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="true" form="prefix">⌊</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">⌋</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>α</mml:mi><mml:mo>=</mml:mo><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo>≤</mml:mo><mml:mi>α</mml:mi><mml:mo>&lt;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>5</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    The modified Bessel recurrence (NIST Digital Library of Mathematical
    Functions, n.d.-g)
    <styled-content id="eqU003Abessel-recurrence"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:bessel-recurrence}
     K_{\alpha+j+1}(z)=K_{\alpha+j-1}(z)
     +\frac{2(\alpha+j)}{z}K_{\alpha+j}(z),
     \qquad j=1,\ldots,m-1,
    \end{equation} \qquad(6)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mi>z</mml:mi></mml:mfrac><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>6</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    recovers the required order from <inline-formula><alternatives>
    <tex-math><![CDATA[K_\alpha]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>α</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[K_{\alpha+1}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>.
    The latter can be represented by the coupled Temme series
    <styled-content id="eqU003Atemme-series"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:temme-series}
     K_\alpha(z)=\sum_{k=0}^\infty c_k f_k,
     \qquad
     K_{\alpha+1}(z)=\frac2z\sum_{k=0}^\infty c_k h_k,
    \end{equation} \qquad(7)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>α</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mfrac><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>h</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>7</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    with <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     c_k=\frac{(z^2/4)^k}{k!}.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mi>!</mml:mi></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    Let <inline-formula><alternatives>
    <tex-math><![CDATA[\mu=\alpha\log(2/z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>μ</mml:mi><mml:mo>=</mml:mo><mml:mi>α</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>/</mml:mi><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>.
    Then, the first coefficient is <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     f_0=\frac{\pi\alpha}{\sin(\pi\alpha)}\left[
     -\gamma_1(\alpha)\cosh\mu+
     \gamma_2(\alpha)\log\!\left(\frac2z\right)\frac{\sinh\mu}{\mu}\right],
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>π</mml:mi><mml:mi>α</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">sin</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>π</mml:mi><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mi>−</mml:mi><mml:msub><mml:mi>γ</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi mathvariant="normal">cosh</mml:mi><mml:mi>μ</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi mathvariant="normal">log</mml:mi><mml:mspace width="-0.167em"></mml:mspace><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mfrac><mml:mrow><mml:mrow><mml:mi mathvariant="normal">sinh</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>μ</mml:mi></mml:mrow><mml:mi>μ</mml:mi></mml:mfrac><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
    where the Gamma-function combinations are
    <styled-content id="jrepU003AeqU003A8"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{jrep:eq:8}\begin{aligned}
     \gamma_1(\alpha)&=\frac{\Gamma(1+\alpha)^{-1}-\Gamma(1-\alpha)^{-1}}{2\alpha}
     =\gamma_E+\Bigl(\frac{\gamma_E^3}{6}-\frac{\gamma_E\,\zeta(2)}{2}+\frac{\zeta(3)}{3}\Bigr)\alpha^2+O(\alpha^4),\end{aligned}
    \end{equation} \qquad(8)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>γ</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>α</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>−</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>−</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>α</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>−</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>α</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mi>E</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mo minsize="180%" maxsize="180%" stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:msubsup><mml:mi>γ</mml:mi><mml:mi>E</mml:mi><mml:mn>3</mml:mn></mml:msubsup><mml:mn>6</mml:mn></mml:mfrac><mml:mo>−</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>γ</mml:mi><mml:mi>E</mml:mi></mml:msub><mml:mspace width="0.167em"></mml:mspace><mml:mi>ζ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mi>ζ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>3</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mn>3</mml:mn></mml:mfrac><mml:mo minsize="180%" maxsize="180%" stretchy="true" form="postfix">)</mml:mo><mml:msup><mml:mi>α</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mi>O</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>α</mml:mi><mml:mn>4</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>8</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    <styled-content id="eqU003Atemme_taylor"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:temme_taylor}\begin{aligned}
     \gamma_2(\alpha)&=\frac{\Gamma(1+\alpha)^{-1}+\Gamma(1-\alpha)^{-1}}2
     =1+\frac{\gamma_E^2-\zeta(2)}{2}\,\alpha^2+O(\alpha^4), 
    \end{aligned}
    \end{equation} \qquad(9)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>γ</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>α</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>−</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>α</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>−</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mn>2</mml:mn></mml:mfrac><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>γ</mml:mi><mml:mi>E</mml:mi><mml:mn>2</mml:mn></mml:msubsup><mml:mo>−</mml:mo><mml:mi>ζ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:mfrac><mml:mspace width="0.167em"></mml:mspace><mml:msup><mml:mi>α</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mi>O</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>α</mml:mi><mml:mn>4</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>9</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where <inline-formula><alternatives>
    <tex-math><![CDATA[\gamma_E=\gamma_1(0)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>γ</mml:mi><mml:mi>E</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    is the Euler–Mascheroni constant and <inline-formula><alternatives>
    <tex-math><![CDATA[\zeta]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ζ</mml:mi></mml:math></alternatives></inline-formula>
    denotes the Riemann zeta function. The starting terms for the two
    auxiliary sequences are
    <styled-content id="eqU003Atemme-p0"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:temme-p0}
     p_0=h_0=\frac12\left(\frac z2\right)^{-\alpha}\Gamma(1+\alpha),
     \qquad
     q_0=\frac12\left(\frac z2\right)^{\alpha}\Gamma(1-\alpha).
    \end{equation} \qquad(10)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mi>−</mml:mi><mml:mi>α</mml:mi></mml:mrow></mml:msup><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>q</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mi>α</mml:mi></mml:msup><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>10</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    The removable singularities at <inline-formula><alternatives>
    <tex-math><![CDATA[\alpha=0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    in the initialisation are evaluated by their limits. For
    <inline-formula><alternatives>
    <tex-math><![CDATA[k\geq1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>≥</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    these sequences and the Temme coefficients satisfy
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     p_k=\frac{p_{k-1}}{k-\alpha},
     \qquad q_k=\frac{q_{k-1}}{k+\alpha},
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mi>α</mml:mi></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>q</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mi>α</mml:mi></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     f_k=\frac{kf_{k-1}+p_{k-1}+q_{k-1}}{k^2-\alpha^2},
     \qquad h_k=-kf_k+p_k.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>k</mml:mi><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi>k</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:msup><mml:mi>α</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>h</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>−</mml:mi><mml:mi>k</mml:mi><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula></p>
    <p>Another representation follows from the Wronskian identity
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     \frac1z=I_\nu(z)K_{\nu+1}(z)+I_{\nu+1}(z)K_\nu(z).
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>z</mml:mi></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    With <inline-formula><alternatives>
    <tex-math><![CDATA[R_\nu(z)=K_{\nu+1}(z)/K_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>/</mml:mi><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    this gives
    <styled-content id="eqU003Awronskian"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:wronskian}
     K_\nu(z)=\frac{1}{z[I_\nu(z)R_\nu(z)+I_{\nu+1}(z)]}.
    \end{equation} \qquad(11)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>z</mml:mi><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>11</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    The ratio can be evaluated through the continued-fraction
    representation (NIST Digital Library of Mathematical Functions,
    n.d.-d)
    <styled-content id="eqU003Aratio-cf"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:ratio-cf}
     R_\nu(z)=\frac{2\nu+1+2z}{2z}
     +\frac1z\underset{m=1}{\overset{\infty}{\mathrm K}}
     \frac{\nu^2-(2m-1)^2/4}{2(z+m)},
    \end{equation} \qquad(12)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>z</mml:mi></mml:mfrac><mml:munder><mml:mover><mml:mi mathvariant="normal">K</mml:mi><mml:mo accent="false">∞</mml:mo></mml:mover><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:munder><mml:mfrac><mml:mrow><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>+</mml:mo><mml:mi>m</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>12</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where the continued-fraction operator uses the standard
    nested-fraction notation (Cuyt et al., 2008):
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     \underset{m=1}{\overset{N}{\mathrm K}}\frac{a_m}{b_m}
     =\dfrac{a_1}{b_1+\dfrac{a_2}{b_2+\cdots+\dfrac{a_N}{b_N}}}.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:munder><mml:mover><mml:mi mathvariant="normal">K</mml:mi><mml:mi>N</mml:mi></mml:mover><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:munder><mml:mfrac><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mfrac><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac><mml:msub><mml:mi>a</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac><mml:msub><mml:mi>a</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mi>⋯</mml:mi><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac><mml:msub><mml:mi>a</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:msub><mml:mi>b</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mfrac></mml:mstyle></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula></p>
    <p>For half-integer orders <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=p+\frac12]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[p\in\mathbb N_0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>p</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="double-struck">ℕ</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>,
    the Bessel function has the finite representation
    <styled-content id="eqU003Abessel-half"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:bessel-half}
     K_{p+1/2}(z)=\sqrt{\frac{\pi}{2z}}e^{-z}
     \sum_{j=0}^{p}\frac{(p+j)!}{j!(p-j)!(2z)^j}.
    \end{equation} \qquad(13)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msqrt><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:msqrt><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>p</mml:mi></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mi>!</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>z</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>j</mml:mi></mml:msup></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>13</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content></p>
    <p>Also, two asymptotic regimes are used. For large argument
    <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    at fixed order <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
    the Poincaré expansion (NIST Digital Library of Mathematical
    Functions, n.d.-a) is
    <styled-content id="eqU003Abessel-large-z"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:bessel-large-z}
     K_\nu(z)\sim\sqrt{\frac{\pi}{2z}}e^{-z}
     \left[1+\sum_{k=1}^\infty
     \frac{\prod_{\ell=1}^k\left(4\nu^2-(2\ell-1)^2\right)}{k!(8z)^k}\right].
    \end{equation} \qquad(14)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:msqrt><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:msqrt><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:munderover><mml:mo>∏</mml:mo><mml:mrow><mml:mi>ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:munderover><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mn>4</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>ℓ</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mi>!</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>8</mml:mn><mml:mi>z</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:mfrac><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>14</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    The truncated expansion can be accelerated by a factorial
    Levin–Weniger transformation (NIST Digital Library of Mathematical
    Functions, n.d.-f). Let
    <styled-content id="eqU003Alarge-z-terms"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:large-z-terms}
     t_0=1,\qquad
     t_k=\frac{\prod_{\ell=1}^k[4\nu^2-(2\ell-1)^2]}{k!(8z)^k}
     =t_{k-1}\frac{4\nu^2-(2k-1)^2}{8kz}
    \end{equation} \qquad(15)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>t</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:munderover><mml:mo>∏</mml:mo><mml:mrow><mml:mi>ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:munderover><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>4</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>ℓ</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mi>!</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>8</mml:mn><mml:mi>z</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mn>4</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mn>8</mml:mn><mml:mi>k</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>15</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    and define the partial sums and the exact scaled function by
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     s_n=\sum_{j=0}^nt_j,
     \qquad S_\nu(z)=\sqrt{\frac{2z}{\pi}}e^zK_\nu(z).
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:msub><mml:mi>t</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msqrt><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mrow><mml:mi>π</mml:mi></mml:mfrac></mml:msqrt><mml:msup><mml:mi>e</mml:mi><mml:mi>z</mml:mi></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    The series is generally divergent for finite
    <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
    and <inline-formula><alternatives>
    <tex-math><![CDATA[s_n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    is therefore interpreted as an asymptotic approximant. Levin-type
    transformations model the truncation error through a remainder
    estimate <inline-formula><alternatives>
    <tex-math><![CDATA[w_n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:math></alternatives></inline-formula>.
    For a fixed remainder estimate <inline-formula><alternatives>
    <tex-math><![CDATA[w_n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:math></alternatives></inline-formula>,
    the factorial model (Weniger, 1989) assumes
    <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     s_n-S_\nu(z)=w_n\sum_{j=0}^{k-1}\frac{d_j}{(\beta+n)_j},\qquad k\geq1,
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:munderover><mml:mfrac><mml:msub><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>k</mml:mi><mml:mo>≥</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
    for the <inline-formula><alternatives>
    <tex-math><![CDATA[k+1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    consecutive indices <inline-formula><alternatives>
    <tex-math><![CDATA[n,\dots,n+k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    where <inline-formula><alternatives>
    <tex-math><![CDATA[\beta>0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>β</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    is a fixed parameter and <inline-formula><alternatives>
    <tex-math><![CDATA[d_0,\dots,d_{k-1}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
    are unknown coefficients that may depend on
    <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[\beta]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>β</mml:mi></mml:math></alternatives></inline-formula>
    but not on <inline-formula><alternatives>
    <tex-math><![CDATA[n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math></alternatives></inline-formula>.
    These <inline-formula><alternatives>
    <tex-math><![CDATA[k+1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    equations determine the <inline-formula><alternatives>
    <tex-math><![CDATA[k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>
    coefficients together with <inline-formula><alternatives>
    <tex-math><![CDATA[S_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    and the transformation derived below solves them for
    <inline-formula><alternatives>
    <tex-math><![CDATA[S_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    without computing the <inline-formula><alternatives>
    <tex-math><![CDATA[d_j]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:math></alternatives></inline-formula>.
    Since the ratio <inline-formula><alternatives>
    <tex-math><![CDATA[(s_n-S_\nu(z))/w_n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>/</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
    generally has an infinite expansion in the inverse Pochhammer
    symbols <inline-formula><alternatives>
    <tex-math><![CDATA[1/(\beta+n)_j]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>,
    truncating it after <inline-formula><alternatives>
    <tex-math><![CDATA[k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>
    terms makes the result an approximation; it is exact for sequences
    whose truncation error has precisely this form. With this remainder
    estimate, the transformation is Weniger’s
    <inline-formula><alternatives>
    <tex-math><![CDATA[\delta]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>δ</mml:mi></mml:math></alternatives></inline-formula>
    transformation (Weniger, 1989). Multiplication by
    <inline-formula><alternatives>
    <tex-math><![CDATA[(\beta+n)_{k-1}/w_n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mi>/</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
    gives <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     (\beta+n)_{k-1}\frac{s_n-S_\nu(z)}{w_n}
     =\sum_{j=0}^{k-1}d_j(\beta+n+j)_{k-1-j}.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mfrac><mml:mo>=</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:munderover><mml:msub><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    Since the right-hand side is a polynomial in
    <inline-formula><alternatives>
    <tex-math><![CDATA[n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math></alternatives></inline-formula>
    of degree at most <inline-formula><alternatives>
    <tex-math><![CDATA[k-1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    its <inline-formula><alternatives>
    <tex-math><![CDATA[k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>th
    forward difference vanishes. Applying <inline-formula><alternatives>
    <tex-math><![CDATA[\Delta f(n)=f(n+1)-f(n)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>n</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>n</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    yields <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     \Delta^k\left[(\beta+n)_{k-1}\frac{s_n}{w_n}\right]
     -S_\nu(z)\Delta^k\left[\frac{(\beta+n)_{k-1}}{w_n}\right]=0.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mfrac><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mfrac><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    Since the <inline-formula><alternatives>
    <tex-math><![CDATA[d_j]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    do not depend on <inline-formula><alternatives>
    <tex-math><![CDATA[n]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math></alternatives></inline-formula>,
    they enter only as constant coefficients of terms whose
    <inline-formula><alternatives>
    <tex-math><![CDATA[k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>th
    forward difference is zero, and therefore do not appear in this
    equation. Solving the transformed approximation gives
    <styled-content id="eqU003Alevin"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:levin}
     \widehat S_{\nu,k}(z)=
     \left.\frac{\Delta^k[(\beta+n)_{k-1}s_n/w_n]}
     {\Delta^k[(\beta+n)_{k-1}/w_n]}\right|_{n=0}
     =\frac{\displaystyle\sum_{i=0}^kC_i\,s_i/w_i}
     {\displaystyle\sum_{i=0}^kC_i/w_i},
    \end{equation} \qquad(16)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mover><mml:mi>S</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mrow><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mfrac><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mi>/</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mi>/</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:mfrac><mml:mo stretchy="true" form="postfix">|</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:munderover><mml:msub><mml:mi>C</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mspace width="0.167em"></mml:mspace><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mi>/</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:munderover><mml:msub><mml:mi>C</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mi>/</mml:mi><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>16</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where
    <styled-content id="eqU003Alevin-weights"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:levin-weights}
     C_i=(-1)^i\binom{k}{i}
     \frac{(\beta+i)_{k-1}}{(\beta+k)_{k-1}}.
    \end{equation} \qquad(17)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>i</mml:mi></mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac linethickness="0"><mml:mi>k</mml:mi><mml:mi>i</mml:mi></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>β</mml:mi><mml:mo>+</mml:mo><mml:mi>k</mml:mi><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>17</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    The weights in
    Equation <xref alt="(17)" rid="eqU003Alevin-weights">(17)</xref>
    follow by expanding the forward differences,
    <inline-formula><alternatives>
    <tex-math><![CDATA[\Delta^k f(n)=\sum_{i=0}^k(-1)^{k-i}\binom{k}{i}f(n+i)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>n</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:msubsup><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac linethickness="0"><mml:mi>k</mml:mi><mml:mi>i</mml:mi></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    and cancelling the common sign and normalisation. Thus, the
    corresponding approximation of the unscaled Bessel function is
    <styled-content id="eqU003Alevin-final"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:levin-final}
     K_\nu(z)\approx\sqrt{\frac{\pi}{2z}}\,e^{-z}\widehat S_{\nu,k}(z).
    \end{equation} \qquad(18)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>≈</mml:mo><mml:msqrt><mml:mfrac><mml:mi>π</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:msqrt><mml:mspace width="0.167em"></mml:mspace><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mover><mml:mi>S</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mrow><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>18</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    Our implementation uses the weights of
    Equation <xref alt="(17)" rid="eqU003Alevin-weights">(17)</xref> for
    <inline-formula><alternatives>
    <tex-math><![CDATA[\beta=2]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[k=14]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>14</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    as stored constants. For <inline-formula><alternatives>
    <tex-math><![CDATA[\beta=2]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    the numerator and denominator can be evaluated by Weniger’s
    difference-table recurrence. The transformation requires
    <inline-formula><alternatives>
    <tex-math><![CDATA[w_i\neq0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>≠</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    for <inline-formula><alternatives>
    <tex-math><![CDATA[0\leq i\leq k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>0</mml:mn><mml:mo>≤</mml:mo><mml:mi>i</mml:mi><mml:mo>≤</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    and a nonzero denominator in
    Equation <xref alt="(16)" rid="eqU003Alevin">(16)</xref>. Its
    accuracy depends on the remainder model and the numerical
    conditioning of the transformed sums. We use
    <inline-formula><alternatives>
    <tex-math><![CDATA[w_n=t_{n+1}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>.
    Note that, at half-integer order <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=p+\frac12]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula>,
    the factor <inline-formula><alternatives>
    <tex-math><![CDATA[4\nu^2-(2k-1)^2=4(p+1-k)(p+k)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>4</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn>4</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    in Equation <xref alt="(15)" rid="eqU003Alarge-z-terms">(15)</xref>
    vanishes at <inline-formula><alternatives>
    <tex-math><![CDATA[k=p+1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    so <inline-formula><alternatives>
    <tex-math><![CDATA[t_k=0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    for all <inline-formula><alternatives>
    <tex-math><![CDATA[k>p]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>&gt;</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    and the series terminates. The remaining terms are
    <inline-formula><alternatives>
    <tex-math><![CDATA[t_j=\frac{(p+j)!}{j!\,(p-j)!\,(2z)^j}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>z</mml:mi><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>j</mml:mi></mml:msup></mml:mrow></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula>,
    so the partial sum <inline-formula><alternatives>
    <tex-math><![CDATA[s_p]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>s</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    coincides term by term with the finite representation in
    Equation <xref alt="(13)" rid="eqU003Abessel-half">(13)</xref> and
    is exact. Since the remainder estimates then vanish for
    <inline-formula><alternatives>
    <tex-math><![CDATA[i\ge p]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>i</mml:mi><mml:mo>≥</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    the transformation in
    Equation <xref alt="(16)" rid="eqU003Alevin">(16)</xref> is
    undefined, and the implementation returns
    <inline-formula><alternatives>
    <tex-math><![CDATA[s_p]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>s</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    unchanged.</p>
    <p>An ansatz for large order <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
    with fixed ratio <inline-formula><alternatives>
    <tex-math><![CDATA[r=z/\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mi>ν</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    is the uniform expansion (NIST Digital Library of Mathematical
    Functions, n.d.-b),
    <styled-content id="eqU003Abessel-large-order"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:bessel-large-order}
     K_\nu(\nu r)\sim\sqrt{\frac{\pi p}{2\nu}} e^{-\nu\eta(r)}
     \sum_{k=0}^\infty\frac{(-1)^kU_k(p)}{\nu^k},
    \end{equation} \qquad(19)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:msqrt><mml:mfrac><mml:mrow><mml:mi>π</mml:mi><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:mfrac></mml:msqrt><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>ν</mml:mi><mml:mi>η</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:msup><mml:mi>ν</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mfrac><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>19</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where
    <styled-content id="eqU003Adebye-eta"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:debye-eta}
     \eta(r)=\frac1p+
     \log\left(\frac{r}{1+1/p}\right),
     \qquad p=(1+r^2)^{-1/2}.
    \end{equation} \qquad(20)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi>η</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>p</mml:mi></mml:mfrac><mml:mo>+</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>20</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    The Debye polynomials <inline-formula><alternatives>
    <tex-math><![CDATA[U_k]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    are defined by <inline-formula><alternatives>
    <tex-math><![CDATA[U_0(p)=1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    and <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     U_{k+1}(p)=\frac12p^2(1-p^2)U_k'(p)
     +\frac18\int_0^p(1-5q^2)U_k(q)\,dq,
     \qquad k\geq0.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:msup><mml:mi>p</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>k</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>8</mml:mn></mml:mfrac><mml:msubsup><mml:mo>∫</mml:mo><mml:mn>0</mml:mn><mml:mi>p</mml:mi></mml:msubsup><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mn>5</mml:mn><mml:msup><mml:mi>q</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>q</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mspace width="0.167em"></mml:mspace><mml:mi>d</mml:mi><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>k</mml:mi><mml:mo>≥</mml:mo><mml:mn>0</mml:mn><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula></p>
  </sec>
  <sec id="secU003Aprefactor">
    <title><named-content content-type="header-section-number">2.3</named-content>
    Incorporation of the Matérn prefactor</title>
    <sec id="large-order-formulation">
      <title><named-content content-type="header-section-number">2.3.1</named-content>
      Large-order formulation</title>
      <p>Substituting
      Equation <xref alt="(19)" rid="eqU003Abessel-large-order">(19)</xref>
      into Equation <xref alt="(1)" rid="eqU003Amatern">(1)</xref> gives
      <styled-content id="eqU003Adebye-step"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:debye-step}\begin{aligned}
       M_\nu(z)\sim{}&\frac{2}{\Gamma(\nu)}\left(\frac z2\right)^\nu
       \sqrt{\frac{\pi p}{2\nu}}e^{-\nu\eta(r)}
       \sum_{k=0}^\infty\frac{(-1)^kU_k(p)}{\nu^k}\\
       ={}&\sqrt{\frac{2\pi p}{\nu}}
       \exp\left\{\nu\log\left(\frac z2\right)-\log\Gamma(\nu)-\nu\eta(r)\right\}
       \sum_{k=0}^\infty\frac{(-1)^kU_k(p)}{\nu^k}.
      \end{aligned}
      \end{equation} \qquad(21)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mfrac><mml:mn>2</mml:mn><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mi>ν</mml:mi></mml:msup><mml:msqrt><mml:mfrac><mml:mrow><mml:mi>π</mml:mi><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:mfrac></mml:msqrt><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>ν</mml:mi><mml:mi>η</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:msup><mml:mi>ν</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:mo>=</mml:mo><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:msqrt><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mi>π</mml:mi><mml:mi>p</mml:mi></mml:mrow><mml:mi>ν</mml:mi></mml:mfrac></mml:msqrt><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="true" form="prefix">{</mml:mo><mml:mi>ν</mml:mi><mml:mi mathvariant="normal">log</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mi mathvariant="normal">log</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mi>η</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="true" form="postfix">}</mml:mo></mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:msup><mml:mi>ν</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mfrac><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>21</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      Since <inline-formula><alternatives>
      <tex-math><![CDATA[r=z/\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mi>ν</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
      the exponent in
      Equation <xref alt="(21)" rid="eqU003Adebye-step">(21)</xref>
      becomes
      <styled-content id="eqU003Adebye-exponent-before"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
       \nu\log(z/2)-\log\Gamma(\nu)-\nu\eta(r)
       =-\nu\log2-\log\Gamma(\nu)-\frac{\nu}{p} 
       +\nu\log\nu+\nu\log(1+1/p).\label{eq:debye-exponent-before}
      \end{equation} \qquad(22)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mi>η</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mi>−</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mfrac><mml:mi>ν</mml:mi><mml:mi>p</mml:mi></mml:mfrac><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>22</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      The Stirling expansion delivers <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       \log\Gamma(\nu)\sim
       \left(\nu-\frac12\right)\log\nu-\nu+\frac12\log(2\pi)
       +\frac1{12\nu}-\frac1{360\nu^3}+\frac1{1260\nu^5}-\cdots.
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>π</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>12</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>360</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>1260</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>5</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:mi>⋯</mml:mi><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
      Substituting into
      Equation <xref alt="(22)" rid="eqU003Adebye-exponent-before">(22)</xref>
      yields
      <styled-content id="eqU003Adebye-sterling"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:debye-sterling}\begin{aligned}
       &\nu\log(z/2)-\log\Gamma(\nu)-\nu\eta(r)  \\
       &\quad\sim\nu\left[\log(1+\frac{1}{p})-\frac{1}{p}+1-\log2\right]
       +\frac12\log\nu-\frac12\log(2\pi)
       -\frac1{12\nu}+\frac1{360\nu^3}-\cdots. 
      \end{aligned}
      \end{equation} \qquad(23)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mi>η</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mspace width="1.0em"></mml:mspace><mml:mo>∼</mml:mo><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mi mathvariant="normal">log</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>p</mml:mi></mml:mfrac><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>p</mml:mi></mml:mfrac><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi mathvariant="normal">log</mml:mi><mml:mn>2</mml:mn><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>π</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>12</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>360</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:mi>⋯</mml:mi><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>23</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      It follows that
      <styled-content id="eqU003Adebye"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:debye}
       M_\nu(z)\sim p^{1/2}
       \exp\left\{\nu\Phi(r)-A(\nu)\right\}
       \sum_{k=0}^\infty\frac{(-1)^kU_k(p)}{\nu^k}
      \end{equation} \qquad(24)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mrow><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="true" form="prefix">{</mml:mo><mml:mi>ν</mml:mi><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>A</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="true" form="postfix">}</mml:mo></mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:msup><mml:mi>ν</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mfrac></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>24</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      with <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       \Phi(r)=\log\left(\frac{1+1/p}{2}\right)-(1/p-1),
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mi>p</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
      and <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       A(\nu)\sim\frac1{12\nu}-\frac1{360\nu^3}
       +\frac1{1260\nu^5}-\cdots.
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>A</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>12</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>360</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>1260</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>5</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:mi>⋯</mml:mi><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula></p>
    </sec>
    <sec id="continued-fraction-formulation">
      <title><named-content content-type="header-section-number">2.3.2</named-content>
      Continued-fraction formulation</title>
      <p>The Wronskian representation in
      Equation <xref alt="(11)" rid="eqU003Awronskian">(11)</xref>
      requires <inline-formula><alternatives>
      <tex-math><![CDATA[I_\nu(z)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
      <inline-formula><alternatives>
      <tex-math><![CDATA[I_{\nu+1}(z)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      and the ratio <inline-formula><alternatives>
      <tex-math><![CDATA[R_\nu(z)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>.
      Let <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       G_\nu(z)=\frac{(z/2)^\nu}{\Gamma(\nu)}.
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>G</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>ν</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
      Then, <styled-content id="continued1"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{continued1}\begin{aligned}
       I_\nu(z)&=G_\nu(z)\,\widehat H_\nu(z) \qquad \text{with} \qquad \widehat H_\nu(z)=\frac1\nu\sum_{m=0}^\infty
       \frac{(z^2/4)^m}{m!\,(\nu+1)_m},  \end{aligned}
      \end{equation} \qquad(25)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mspace width="0.167em"></mml:mspace><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mtext mathvariant="normal">with</mml:mtext><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>ν</mml:mi></mml:mfrac><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>m</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>25</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      <styled-content id="continued2"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{continued2}\begin{aligned}
       I_{\nu+1}(z)&=G_\nu(z)\,\widehat H_{\nu+1}(z) \qquad \text{with} \qquad \widehat H_{\nu+1}(z)=\frac{z}{2\nu(\nu+1)}\sum_{m=0}^\infty
       \frac{(z^2/4)^m}{m!\,(\nu+2)_m}. 
      \end{aligned}
      \end{equation} \qquad(26)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mspace width="0.167em"></mml:mspace><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mtext mathvariant="normal">with</mml:mtext><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>m</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>26</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      The normalised series <inline-formula><alternatives>
      <tex-math><![CDATA[\widehat H_\nu=\sum_{m\geq0}a_m]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mi>ν</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>≥</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
      and <inline-formula><alternatives>
      <tex-math><![CDATA[\widehat H_{\nu+1}=\sum_{m\geq0}b_m]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mo>≥</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
      have the initial terms <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       a_0=\frac1\nu,
       \qquad b_0=\frac{z}{2\nu(\nu+1)},
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>a</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>ν</mml:mi></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>b</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
      and recurrences
      <styled-content id="eqU003Acf-terms"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
       \label{eq:cf-terms}
       a_{m+1}=a_m\frac{z^2/4}{(m+1)(\nu+m+1)},
       \qquad b_{m+1}=b_m\frac{z^2/4}{(m+1)(\nu+m+2)}.
      \end{equation} \qquad(27)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>a</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mfrac><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn></mml:mrow><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mfrac><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn></mml:mrow><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>27</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      Substituting
      Equation <xref alt="(25)" rid="continued1">(25)</xref> and
      Equation <xref alt="(26)" rid="continued2">(26)</xref> into
      Equation <xref alt="(11)" rid="eqU003Awronskian">(11)</xref> gives
      <styled-content id="eqU003Afolded-cf"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:folded-cf}
       M_\nu(z)=2G_\nu(z)K_\nu(z)=\frac{2}{z[R_\nu(z)\widehat H_\nu(z)+\widehat H_{\nu+1}(z)]},
      \end{equation} \qquad(28)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:msub><mml:mi>G</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>2</mml:mn><mml:mrow><mml:mi>z</mml:mi><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mover><mml:mi>H</mml:mi><mml:mo accent="true">̂</mml:mo></mml:mover><mml:mrow><mml:mi>ν</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>28</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      where <inline-formula><alternatives>
      <tex-math><![CDATA[R_{\nu}(z)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      is given by
      Equation <xref alt="(12)" rid="eqU003Aratio-cf">(12)</xref>.</p>
    </sec>
    <sec id="secU003Atemme">
      <title><named-content content-type="header-section-number">2.3.3</named-content>
      Temme formulation</title>
      <p>Let
      <styled-content id="eqU003ATdef"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:Tdef}
       T_i=\frac{2(z/2)^{\alpha+i}}{\Gamma(\alpha+i)}K_{\alpha+i}(z),
       \qquad i=0,\ldots,m,
      \end{equation} \qquad(29)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>29</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      where <inline-formula><alternatives>
      <tex-math><![CDATA[T_0]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>T</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:math></alternatives></inline-formula>
      is defined by continuity at <inline-formula><alternatives>
      <tex-math><![CDATA[\alpha=0]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
      Equation <xref alt="(6)" rid="eqU003Abessel-recurrence">(6)</xref>
      delivers
      <styled-content id="eqU003Afolded-temme"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:folded-temme}\begin{aligned}
       T_{i+1}&=\frac{2(z/2)^{\alpha+i+1}}{\Gamma(\alpha+i+1)}
       \left[K_{\alpha+i-1}(z)+\frac{2(\alpha+i)}zK_{\alpha+i}(z)\right] \\
       &=T_i+\frac{(z/2)^2}{(\alpha+i)(\alpha+i-1)}T_{i-1},
       \qquad i \in \mathbb{N}.
      \end{aligned}
      \end{equation} \qquad(30)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mi>z</mml:mi></mml:mfrac><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>i</mml:mi><mml:mo>∈</mml:mo><mml:mi mathvariant="double-struck">ℕ</mml:mi><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>30</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      Let <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       F_T=\frac{2(z/2)^\alpha}{\Gamma(1+\alpha)}.
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>α</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
      Using <inline-formula><alternatives>
      <tex-math><![CDATA[\Gamma(1+\alpha)=\alpha\Gamma(\alpha)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mi>α</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      in Equation <xref alt="(7)" rid="eqU003Atemme-series">(7)</xref>,
      the initial values are
      <styled-content id="eqU003Atemme-start"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:temme-start}
       T_0=F_T\alpha\sum_{k=0}^\infty c_kf_k,
       \qquad T_1=F_T\sum_{k=0}^\infty c_kh_k.
      \end{equation} \qquad(31)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mi>α</mml:mi><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>T</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>h</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>31</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      The second summand in
      Equation <xref alt="(30)" rid="eqU003Afolded-temme">(30)</xref> is
      written as the product of <inline-formula><alternatives>
      <tex-math><![CDATA[r_i=1/(\alpha+i)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      and <styled-content id="eqU003Aell"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:ell}
          \ell_i=\frac{(z/2)^2}{\alpha+i-1}T_{i-1},
      \end{equation} \qquad(32)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>ℓ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>32</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      so that <inline-formula><alternatives>
      <tex-math><![CDATA[T_{i+1} =T_i+\ell_i r_i]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>ℓ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
      and <inline-formula><alternatives>
      <tex-math><![CDATA[\ell_{i+1}=T_i(z/2)^2r_i]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>ℓ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>.
      For <inline-formula><alternatives>
      <tex-math><![CDATA[i=1]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
      in Equation <xref alt="(32)" rid="eqU003Aell">(32)</xref>, we have
      <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
          \ell_1=\frac{(z/2)^2}{\alpha}T_0=F_T(z/2)^2\sum_{k=0}^{\infty}c_kf_k,
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>ℓ</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mi>α</mml:mi></mml:mfrac><mml:msub><mml:mi>T</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></alternatives></disp-formula>
      and <inline-formula><alternatives>
      <tex-math><![CDATA[\ell_1]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>ℓ</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:math></alternatives></inline-formula>
      is evaluated by means of the right-hand side. Starting from
      <inline-formula><alternatives>
      <tex-math><![CDATA[T_1]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>T</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:math></alternatives></inline-formula>
      in Equation <xref alt="(31)" rid="eqU003Atemme-start">(31)</xref>
      and <inline-formula><alternatives>
      <tex-math><![CDATA[\ell_1]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>ℓ</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:math></alternatives></inline-formula>
      above, the recurrences are <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{align*}
          T_{i+1}&=T_i+\ell_i r_i, \qquad
              &i=1,\ldots,m-1,\\
          \ell_{i+1}&=T_i(z/2)^2r_i, \qquad
              &i=1,\ldots,m-2.
      \end{align*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd><mml:mtd columnalign="left" style="text-align: left"><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>ℓ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace></mml:mtd><mml:mtd columnalign="right" style="text-align: right"><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="right" style="text-align: right"><mml:msub><mml:mi>ℓ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd><mml:mtd columnalign="left" style="text-align: left"><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace></mml:mtd><mml:mtd columnalign="right" style="text-align: right"><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mn>2</mml:mn><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
      The resulting value is <inline-formula><alternatives>
      <tex-math><![CDATA[T_m=M_\nu(z)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      for <inline-formula><alternatives>
      <tex-math><![CDATA[m\ge1]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>m</mml:mi><mml:mo>≥</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>;
      for <inline-formula><alternatives>
      <tex-math><![CDATA[m=0]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
      <inline-formula><alternatives>
      <tex-math><![CDATA[M_\nu(z)=T_0]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
      is given directly by
      Equation <xref alt="(31)" rid="eqU003Atemme-start">(31)</xref>.</p>
    </sec>
    <sec id="half-integer-orders">
      <title><named-content content-type="header-section-number">2.3.4</named-content>
      Half-integer orders</title>
      <p>For <inline-formula><alternatives>
      <tex-math><![CDATA[\nu=p+\frac12]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula>,
      the identity <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       \Gamma\left(p+\frac12\right)=\frac{(2p)!}{4^pp!}\sqrt\pi
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mn>4</mml:mn><mml:mi>p</mml:mi></mml:msup><mml:mi>p</mml:mi><mml:mi>!</mml:mi></mml:mrow></mml:mfrac><mml:msqrt><mml:mi>π</mml:mi></mml:msqrt></mml:mrow></mml:math></alternatives></disp-formula>
      together with Equations
      <xref alt="(13)" rid="eqU003Abessel-half">(13)</xref> and
      <xref alt="(1)" rid="eqU003Amatern">(1)</xref> yields
      <styled-content id="eqU003Ahalf"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:half}\begin{aligned}
       M_{p+1/2}(z)
       &=e^{-z}\sum_{k=0}^pc_kz^k,\qquad c_k=\frac{2^kp!(2p-k)!}{(p-k)!\,k!\,(2p)!},
       \qquad k=0,\ldots,p.
      \end{aligned}
      \end{equation} \qquad(33)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtable><mml:mtr><mml:mtd columnalign="right" style="text-align: right; padding-right: 0"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mtd><mml:mtd columnalign="left" style="text-align: left; padding-left: 0"><mml:mo>=</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>p</mml:mi></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msup><mml:mi>z</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mn>2</mml:mn><mml:mi>k</mml:mi></mml:msup><mml:mi>p</mml:mi><mml:mi>!</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mi>k</mml:mi><mml:mi>!</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>!</mml:mi></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>p</mml:mi><mml:mi>.</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>33</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
      We have <inline-formula><alternatives>
      <tex-math><![CDATA[c_0=1]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
      and the recurrence formula <disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation*}
       c_k=c_{k-1}\frac{2(p-k+1)}{k(2p-k+1)},
       \qquad k=1,\ldots,p.
      \end{equation*}]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>p</mml:mi><mml:mo>−</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mspace width="2.0em"></mml:mspace><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mi>p</mml:mi><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula></p>
    </sec>
    <sec id="large-argument-formulation">
      <title><named-content content-type="header-section-number">2.3.5</named-content>
      Large-argument formulation</title>
      <p>Equations <xref alt="(1)" rid="eqU003Amatern">(1)</xref>,
      <xref alt="(14)" rid="eqU003Abessel-large-z">(14)</xref> and
      <xref alt="(15)" rid="eqU003Alarge-z-terms">(15)</xref> deliver
      <styled-content id="eqU003Alarge-z"><disp-formula><alternatives>
      <tex-math><![CDATA[\begin{equation}
      \label{eq:large-z}
       M_\nu(z)\sim\exp\left\{
       \left(\nu-\frac12\right)\log\left(\frac z2\right)
       +\frac12\log\pi-\log\Gamma(\nu)-z\right\}
       \left[1+\sum_{k=1}^\infty
       t_k \right].
      \end{equation} \qquad(34)]]></tex-math>
      <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∼</mml:mo><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="true" form="prefix">{</mml:mo><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mrow><mml:mo stretchy="true" form="prefix">(</mml:mo><mml:mfrac><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy="true" form="postfix">)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mi mathvariant="normal">log</mml:mi><mml:mi>π</mml:mi><mml:mo>−</mml:mo><mml:mi mathvariant="normal">log</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="true" form="postfix">}</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="true" form="prefix">[</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo accent="false">∞</mml:mo></mml:munderover><mml:msub><mml:mi>t</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="true" form="postfix">]</mml:mo></mml:mrow><mml:mi>.</mml:mi></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>34</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content></p>
    </sec>
  </sec>
</sec>
<sec id="secU003Aimplementation">
  <title><named-content content-type="header-section-number">3</named-content>
  Architecture-dependent implementation</title>
  <p>With a few exceptions, all currently produced CPUs support Single
  Instruction Multiple Data (SIMD) execution alongside scalar
  processing. SIMD allows a single instruction to operate on multiple
  data elements simultaneously. In particular, AVX2 and AVX-512 process
  four and eight double-precision floating-point values per vector,
  respectively. However, SIMD execution differs among processor families
  and from scalar execution in instruction throughput, latency and the
  handling of divergent control flow, so that efficient numerical
  implementations depend on the target architecture. CUDA GPUs introduce
  further architectural differences, particularly in their execution
  model and sensitivity to branch divergence.</p>
  <p>The numerical formulations developed in Section
  <xref alt="2.3" rid="secU003Aprefactor">2.3</xref> have different
  accuracy and computational cost characteristics across the
  <inline-formula><alternatives>
  <tex-math><![CDATA[(\nu,z)]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
  parameter space. Our objective is to achieve high computational
  throughput while maintaining competitive numerical accuracy. To this
  end, we combine all methods presented in Section
  <xref alt="2.3" rid="secU003Aprefactor">2.3</xref>. The Temme
  formulation <xref alt="(30)" rid="eqU003Afolded-temme">(30)</xref> is
  used for small arguments. Continued fractions
  <xref alt="(28)" rid="eqU003Afolded-cf">(28)</xref> and Levin’s
  approach <xref alt="(18)" rid="eqU003Alevin-final">(18)</xref> cover
  intermediate regions, while the large-argument
  <xref alt="(14)" rid="eqU003Abessel-large-z">(14)</xref> and the
  large-order expansion <xref alt="(24)" rid="eqU003Adebye">(24)</xref>
  are employed where their truncated forms provide more favourable
  accuracy–cost trade-offs. Half-integer orders are evaluated using the
  finite polynomial representation in
  Equation <xref alt="(33)" rid="eqU003Ahalf">(33)</xref>. The selection
  boundaries were motivated by the domain decompositions of the
  <monospace>Bessels.jl</monospace> main branch (JuliaMath, n.d.-a) and
  version v0.2.8 (JuliaMath, n.d.-b), see
  Figure <xref alt="A1" rid="figU003Aapp-01">A1</xref> in the Appendix,
  and subsequently adapted by comparing accuracy and runtime in regions
  where multiple formulations were reasonable. The resulting selection
  regions are shown in
  Figure <xref alt="1" rid="figU003Adomain">1</xref>, while the
  corresponding algorithm-selection rules are detailed in
  Table <xref alt="B3" rid="tabU003Abranching">B3</xref>. The
  half-integer order limits restrict the polynomial evaluation to orders
  for which it is at least as accurate as the general formulations of
  the respective implementation; for the scalar implementation this
  holds up to the largest tabulated order <inline-formula><alternatives>
  <tex-math><![CDATA[p=40]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>40</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
  The boundary <inline-formula><alternatives>
  <tex-math><![CDATA[z_{\max}=708.4]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>708.4</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  marks where <inline-formula><alternatives>
  <tex-math><![CDATA[e^{-z}]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:msup></mml:math></alternatives></inline-formula>
  becomes subnormal; above it, the folded form
  Equation <xref alt="(34)" rid="eqU003Alarge-z">(34)</xref> (and
  Equation <xref alt="(24)" rid="eqU003Adebye">(24)</xref> for
  <inline-formula><alternatives>
  <tex-math><![CDATA[\nu\ge30]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≥</mml:mo><mml:mn>30</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>)
  combines all factors in one exponent. Below
  <inline-formula><alternatives>
  <tex-math><![CDATA[z_{\max}]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
  the large-argument region multiplies
  Equation <xref alt="(14)" rid="eqU003Abessel-large-z">(14)</xref> by
  the separately computed prefactor <inline-formula><alternatives>
  <tex-math><![CDATA[2(z/2)^\nu/\Gamma(\nu)]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>ν</mml:mi></mml:msup><mml:mi>/</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>;
  for <inline-formula><alternatives>
  <tex-math><![CDATA[\nu\le30]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≤</mml:mo><mml:mn>30</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  this cannot overflow, and only for <inline-formula><alternatives>
  <tex-math><![CDATA[705.3<z\le z_{\max}]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>705.3</mml:mn><mml:mo>&lt;</mml:mo><mml:mi>z</mml:mi><mml:mo>≤</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
  is the intermediate <inline-formula><alternatives>
  <tex-math><![CDATA[K_\nu]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
  already subnormal. The Levin band of the SIMD router is evaluated in
  the same way from
  Equation <xref alt="(18)" rid="eqU003Alevin-final">(18)</xref>.</p>
  <fig id="figU003Adomain">
    <caption><p>Algorithm selection in the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(\nu,z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    parameter plane for the scalar CPU, SIMD CPU and CUDA
    implementations of <monospace>libmatern</monospace>. Panels (a)–(c)
    show the corresponding domain decompositions on logarithmic scales.
    The filled regions identify the Temme, continued-fraction,
    large-argument and large-order formulations, together with the Levin
    region used by SIMD. The boundaries represent the empirically
    selected routing parameters, and the legend identifies additional
    special cases and implementation-specific boundaries.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-domain-backends.pdf" />
  </fig>
  <p>Consecutive inputs <inline-formula><alternatives>
  <tex-math><![CDATA[(z,\nu)]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
  from different parameter regions are challenging for SIMD execution:
  they either require masked execution of several methods per vector,
  which adds overhead and leaves SIMD lanes idle, or have to be grouped
  by numerical method beforehand. The CPU implementation takes the
  second approach and groups the inputs by numerical method before the
  SIMD kernels are applied; for the tested workloads, the resulting gain
  exceeded the cost of grouping and permutation for large
  <inline-formula><alternatives>
  <tex-math><![CDATA[N]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>.
  Within a method, the iterative kernels continue until all lanes of a
  vector have converged, but each lane keeps the sum at its own
  convergence, so that it stops at the same term as when evaluated
  alone. The grouping costs are included in the reported CPU
  timings.</p>
  <p>Every point of half-integer order <inline-formula><alternatives>
  <tex-math><![CDATA[\nu\le 29.5]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≤</mml:mo><mml:mn>29.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  is evaluated by the closed form in
  Equation <xref alt="(33)" rid="eqU003Ahalf">(33)</xref>; in the SIMD
  implementation, a point reaches the closed form either before the
  general routing or within it. The batch is scanned from its start in
  sequences of consecutive points with equal order. A sequence of
  half-integer order is evaluated directly, without grouping, if it
  contains at least 256 points or reaches the end of the batch. If it is
  shorter but begins a sequence of consecutive points with half-integer
  orders, these points are grouped by order and then evaluated. A
  sequence of any other order with at least 256 points is passed to the
  general routing on its own. The first sequence that meets none of
  these conditions ends the scan, and the remaining points are passed to
  the general routing as a whole, which groups their half-integer points
  by order and evaluates them with the same closed form. Since the
  polynomial coefficients depend only on the order
  <inline-formula><alternatives>
  <tex-math><![CDATA[\nu]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
  they are computed once for each sequence of one order and once per
  order within each group. In order to separate the SIMD effect from
  algorithmic differences, the <monospace>matched</monospace> backends
  compile the SIMD source which includes routing, grouping and folded
  kernels at vector width 1, using <monospace>libm</monospace>’s
  <inline-formula><alternatives>
  <tex-math><![CDATA[\exp/\log/\texttt{pow}]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>/</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>/</mml:mi><mml:mtext mathvariant="monospace">𝚙𝚘𝚠</mml:mtext></mml:mrow></mml:math></alternatives></inline-formula>
  and Gamma function instead of the vectorised engines. Our version
  <monospace>matched_fma</monospace> uses hardware FMA, while
  <monospace>matched</monospace> emulates fused operations where
  cancellation matters. They are the fallback for CPUs without AVX2.</p>
  <p>On CUDA GPUs, threads are executed in groups of 32, called warps,
  which, like the lanes of a SIMD vector, carry out the same instruction
  at the same time. Similarly, divergent execution can reduce GPU
  efficiency when threads within the same warp require different
  computational paths, since the warp then executes these paths one
  after another. Reordering the inputs on the host before the transfer
  is however omitted, because the additional memory operations required
  for grouping and restoring output order offset the reduction in warp
  divergence.</p>
  <p>An additional challenge is the overhead for transferring input and
  output data between host and device, which can substantially reduce
  the performance benefits of GPU acceleration. To address this, the
  implementation supports four transfer strategies: synchronous copying,
  pinned-ring staging, temporary page registration and mapped host
  memory.</p>
  <p>The iterative numerical methods require termination criteria that
  limit computational cost while maintaining numerical accuracy. We
  combine convergence-based stopping conditions with fixed iteration
  limits, allowing calculations to terminate once further iterations are
  no longer expected to improve the result, bounding the cost when
  convergence is slow. The corresponding criteria and iteration limits
  are documented in
  Table <xref alt="B1" rid="tabU003Aapp-trunc">B1</xref> and
  Table <xref alt="B2" rid="tabU003Aapp-exit">B2</xref>. For valid
  <inline-formula><alternatives>
  <tex-math><![CDATA[\nu,s>0]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
  signed zeros yield <inline-formula><alternatives>
  <tex-math><![CDATA[M_\nu(0)=1]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
  while <inline-formula><alternatives>
  <tex-math><![CDATA[M_{\nu}(h) \rightarrow 0]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>→</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  as <inline-formula><alternatives>
  <tex-math><![CDATA[h \rightarrow +\infty]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>h</mml:mi><mml:mo>→</mml:mo><mml:mi>+</mml:mi><mml:mi>∞</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>.
  Returning <inline-formula><alternatives>
  <tex-math><![CDATA[M_\nu(0)=1]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  preserves the unit diagonal of normalised covariance matrices. A clamp
  of the results of the general methods to
  <inline-formula><alternatives>
  <tex-math><![CDATA[[0,1]]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
  which also returns a non-finite intermediate result as
  <inline-formula><alternatives>
  <tex-math><![CDATA[0]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0</mml:mn></mml:math></alternatives></inline-formula>,
  guarantees a finite, admissible value even outside the tested domains,
  so such inputs do not introduce non-finite or out-of-range values into
  subsequent computations. Finally, NaN inputs, negative distances, and
  non-positive smoothness or scale parameters return NaN.</p>
</sec>
<sec id="secU003Aexperiment">
  <title><named-content content-type="header-section-number">4</named-content>
  Experimental design</title>
  <sec id="reference-values-and-accuracy-metrics">
    <title><named-content content-type="header-section-number">4.1</named-content>
    Reference values and accuracy metrics</title>
    <p>To assess numerical accuracy, we compute high-precision reference
    values by means of FLINT/Arb, a high-performance library for exact
    and arbitrary-precision computation, while its Arb component
    provides rigorously bounded arbitrary-precision ball arithmetic
    (Johansson, 2017; The FLINT team, 2026). By enclosing the computed
    values within certified intervals, Arb allows the accuracy of
    double-precision implementations to be assessed against reliable
    numerical references.</p>
    <p>Reference values were evaluated from
    Equation <xref alt="(1)" rid="eqU003Amatern">(1)</xref> using an
    initial precision of 512 bits, which was doubled when necessary
    until the enclosure computed by FLINT/Arb provided at least 110 bits
    of accuracy. This accuracy substantially exceeds the 53-bit
    significand precision of <monospace>binary64</monospace>, keeping
    uncertainty in the high-precision reference evaluation small
    relative to the errors being measured. Each reference value was
    stored as two <monospace>binary64</monospace> components to support
    accurate subsequent error evaluation.</p>
    <p>Numerical error is quantified in units in the last place (ULP),
    an established metric for floating-point computations and
    mathematical function implementations that accounts for the local
    spacing of representable values across the wide dynamic range of the
    Matérn covariance (Muller et al., 2018). For a
    <monospace>binary64</monospace> result
    <inline-formula><alternatives>
    <tex-math><![CDATA[x]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>x</mml:mi></mml:math></alternatives></inline-formula>
    and a high-precision reference represented by
    <inline-formula><alternatives>
    <tex-math><![CDATA[r_{\textrm{hi}}+r_{\textrm{lo}}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">hi</mml:mtext></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">lo</mml:mtext></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>,
    the ULP distance is calculated as
    <styled-content id="eqU003Aulp"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:ulp}
     \operatorname{ULP}(x,r)=\frac{|(x-r_{\textrm{hi}})-r_{\textrm{lo}}|}{
     \texttt{nextafter}(|r_{\textrm{hi}}|,+\infty)-|r_{\textrm{hi}}|}
    \end{equation} \qquad(35)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">ULP</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">hi</mml:mtext></mml:msub><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">lo</mml:mtext></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo></mml:mrow><mml:mrow><mml:mtext mathvariant="monospace">𝚗𝚎𝚡𝚝𝚊𝚏𝚝𝚎𝚛</mml:mtext><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">hi</mml:mtext></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo>,</mml:mo><mml:mi>+</mml:mi><mml:mi>∞</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">hi</mml:mtext></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo></mml:mrow></mml:mfrac></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>35</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where <inline-formula><alternatives>
    <tex-math><![CDATA[\texttt{nextafter}(a,b)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mtext mathvariant="monospace">𝚗𝚎𝚡𝚝𝚊𝚏𝚝𝚎𝚛</mml:mtext><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    denotes the C standard library function that returns the
    <monospace>binary64</monospace> number adjacent to
    <inline-formula><alternatives>
    <tex-math><![CDATA[a]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>a</mml:mi></mml:math></alternatives></inline-formula>
    in the direction of <inline-formula><alternatives>
    <tex-math><![CDATA[b]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>b</mml:mi></mml:math></alternatives></inline-formula>,
    so that the denominator is the gap between
    <inline-formula><alternatives>
    <tex-math><![CDATA[|r_{\textrm{hi}}|]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">hi</mml:mtext></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    and the next larger <monospace>binary64</monospace> number, i.e. one
    ULP at the reference value. For reference values below
    <inline-formula><alternatives>
    <tex-math><![CDATA[2^{-972}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>972</mml:mn></mml:mrow></mml:msup></mml:math></alternatives></inline-formula>,
    quantisation of <inline-formula><alternatives>
    <tex-math><![CDATA[r_{\textrm{lo}}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>r</mml:mi><mml:mtext mathvariant="normal">lo</mml:mtext></mml:msub></mml:math></alternatives></inline-formula>
    can introduce an uncertainty of up to <inline-formula><alternatives>
    <tex-math><![CDATA[0.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.5</mml:mn></mml:math></alternatives></inline-formula> ULP,
    see Table <xref alt="B4" rid="tabU003Aapp-sub">B4</xref>. We
    verified that accounting for this uncertainty does not change the
    reported maximum ULP errors. Non-finite outputs are excluded from
    the error statistics and reported separately, see
    Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>.</p>
  </sec>
  <sec id="comparison-methods-and-baseline-construction">
    <title><named-content content-type="header-section-number">4.2</named-content>
    Comparison methods and baseline construction</title>
    <p>To assess the numerical accuracy and computational performance of
    <monospace>libmatern</monospace>, we compare it against widely used
    general-purpose mathematical libraries and specialised
    implementations developed for efficient Bessel-function evaluation.
    The CPU baselines include <monospace>std::cyl_bessel_k</monospace>
    from libstdc++ (GCC Development Team, n.d.), GSL (GSL Development
    Team, n.d.), Boost.Math (Boost Developers, n.d.), three ports of
    CuBesselK by Geng et al. (2025), labelled
    <monospace>kaust-128</monospace>, <monospace>kaust-40</monospace>
    and <monospace>kaust-modified</monospace> in the tables, and two C
    ports of <monospace>Bessels.jl</monospace> corresponding to its main
    branch (JuliaMath, n.d.-a) and version v0.2.8 (JuliaMath, n.d.-b);
    the latter uses the main branch’s cut-off for the large-argument
    expansion of <inline-formula><alternatives>
    <tex-math><![CDATA[I_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>.
    The upstream versions of all baselines are listed in
    Table <xref alt="B12" rid="tabU003Aapp-versions">B12</xref>. The GPU
    comparisons include the same CuBesselK ports compiled with nvcc and
    a GPU implementation of Boost.Math (Boost Developers, n.d.). Since
    all these implementations primarily evaluate
    <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    rather than the normalised Matérn covariance, their outputs must be
    combined with the Matérn prefactor to obtain comparable results.</p>
    <p>Although the covariance assemblies are mathematically equivalent,
    their numerical accuracy can differ due to intermediate overflow,
    underflow and floating-point rounding errors. To avoid
    disadvantaging external implementations through an unsuitable
    conversion from <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    to the Matérn covariance, we evaluate three assembly strategies:
    direct multiplication according to
    Equation <xref alt="(1)" rid="eqU003Amatern">(1)</xref>, a
    logarithmic formulation,
    <styled-content id="eqU003Abaseline-log"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:baseline-log}
     M_\nu(z)=\exp\bigl\{(1-\nu)\log 2-\log\Gamma(\nu)
     +\nu\log z+\log K_\nu(z)\bigr\},
    \end{equation} \qquad(36)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo minsize="120%" maxsize="120%" stretchy="true" form="prefix">{</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>z</mml:mi><mml:mo>+</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo minsize="120%" maxsize="120%" stretchy="true" form="postfix">}</mml:mo><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>36</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    and, for implementations providing the exponentially scaled Bessel
    function <inline-formula><alternatives>
    <tex-math><![CDATA[e^zK_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi>e</mml:mi><mml:mi>z</mml:mi></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    the representation
    <styled-content id="eqU003Abaseline-scaled"><disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation}
    \label{eq:baseline-scaled}
     M_\nu(z)=e^{F/2}\,[e^zK_\nu(z)]\,e^{F/2},
    \end{equation} \qquad(37)]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>F</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mi>z</mml:mi></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="postfix">]</mml:mo><mml:mspace width="0.167em"></mml:mspace><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>F</mml:mi><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow><mml:mspace width="2.0em"></mml:mspace><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>37</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></disp-formula></styled-content>
    where <disp-formula><alternatives>
    <tex-math><![CDATA[\begin{equation*}
     F=(1-\nu)\log 2-\log\Gamma(\nu)+\nu\log z-z.
    \end{equation*}]]></tex-math>
    <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>F</mml:mi><mml:mo>=</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>+</mml:mo><mml:mi>ν</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>z</mml:mi><mml:mo>−</mml:mo><mml:mi>z</mml:mi><mml:mi>.</mml:mi></mml:mrow></mml:math></alternatives></disp-formula>
    The symmetric splitting of <inline-formula><alternatives>
    <tex-math><![CDATA[F]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>F</mml:mi></mml:math></alternatives></inline-formula>
    can reduce precision loss and premature underflow when combining a
    small exponential prefactor with a large scaled Bessel value, while
    matching the internal evaluation strategy of
    <monospace>Bessels.jl</monospace>. For each external implementation,
    we select the assembly that returns a finite result at every point
    or, failing that, the highest number of finite results, and among
    these the one with the lowest maximum ULP error, preferring direct
    multiplication on an exact tie; this provides a conservative
    accuracy baseline for comparison with
    <monospace>libmatern</monospace>. On the eight benchmark datasets
    the selection is made separately for each dataset. On the size
    ladders, for which the accuracy of the external implementations is
    not evaluated, each external implementation is used in one assembly
    per interface, selected by the same rule with the eight benchmark
    datasets of that interface taken together, that is, with the finite
    results counted and the maximum ULP error taken over all of them.
    All timings refer to the selected assembly. Despite these assembly
    strategies, the conversion from <inline-formula><alternatives>
    <tex-math><![CDATA[K_{\nu}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[M_{\nu}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    remains a source of error, see Figures
    <xref alt="A8" rid="figU003Aapp-12">A8</xref> and
    <xref alt="A9" rid="figU003Aapp-13">A9</xref>.</p>
    <p>Two of the baselines have limitations in their tested releases
    that are not inherent to their underlying algorithms. To avoid
    attributing these limitations to the algorithms, we additionally
    evaluate a modified version of each, prepared by us for this study
    and labelled <monospace>kaust-modified</monospace> and
    <monospace>boost-modified</monospace>; the unmodified releases are
    always reported alongside them. CuBesselK evaluates
    <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    by quadrature of an integral representation, where the number of
    bins sets the number of quadrature terms. The released code is
    tested with 40 and 128 bins, labelled
    <monospace>kaust-40</monospace> and
    <monospace>kaust-128</monospace>, on the CPU (as C ports) and on the
    GPU; in this form it is usable only on a restricted parameter
    domain. Our variant <monospace>kaust-modified</monospace>, also
    evaluated on both CPU and GPU, differs from the released code in
    three respects. It uses 128 bins and the adaptive integration
    interval described by Geng et al. (2025) instead of the fixed
    interval <inline-formula><alternatives>
    <tex-math><![CDATA[t\in[0,9]]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>t</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>9</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    and it applies the decimal exponent that the released code
    accumulates in its forward recurrence after Temme’s series but does
    not apply. In addition, it evaluates <inline-formula><alternatives>
    <tex-math><![CDATA[\log(\cosh\mu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">cosh</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>μ</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    as <inline-formula><alternatives>
    <tex-math><![CDATA[|\mu|-\log 2+\texttt{log1p}(\exp(-2|\mu|))]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mi>μ</mml:mi><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mi>−</mml:mi><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mtext mathvariant="monospace">𝚕𝚘𝚐𝟷𝚙</mml:mtext><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mi>μ</mml:mi><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    which is mathematically equivalent and avoids the overflow of
    <inline-formula><alternatives>
    <tex-math><![CDATA[\cosh\mu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">cosh</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>μ</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>.
    For Boost.Math, the CPU baseline is version 1.75.0, which uses
    long-double intermediates. GPU execution requires version 1.87 or
    later; the GPU baseline is version 1.87.0, which evaluates in
    <monospace>binary64</monospace> and replaces
    <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    by a four-term Hankel expansion whenever
    <inline-formula><alternatives>
    <tex-math><![CDATA[|4\nu^2-25|/(8z)<\epsilon^{1/4}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mn>4</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mn>25</mml:mn><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mi>/</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>8</mml:mn><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>&lt;</mml:mo><mml:msup><mml:mi>ϵ</mml:mi><mml:mrow><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
    with <inline-formula><alternatives>
    <tex-math><![CDATA[\epsilon=2^{-52}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ϵ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>52</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.
    This shortcut is exact only at <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    and loses accuracy close to it
    (Figure <xref alt="A2" rid="figU003Aapp-03">A2</xref>); version
    1.75.0 does not contain it. Our GPU variant
    <monospace>boost-modified</monospace> calls the unmodified
    Boost.Math 1.87.0 functions but, wherever the shortcut could apply,
    computes <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    from the recurrence <inline-formula><alternatives>
    <tex-math><![CDATA[K_\nu=K_{\nu-2}+\frac{2(\nu-1)}{z}K_{\nu-1}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mi>z</mml:mi></mml:mfrac><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>ν</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
    instead. Both modifications are part of the benchmark code in the
    <monospace>libmatern</monospace> repository; the CuBesselK changes
    are applied by a script to the upstream source at commit
    <monospace>94ec9ca</monospace> (Geng &amp; Abdulah, n.d.), which is
    downloaded separately, checked against SHA-256 digests and not
    redistributed.</p>
    <p><monospace>scipy.special.kv</monospace> (<named-content content-type="nocase">Virtanen
    et al.</named-content>, 2020), which wraps Amos’s routine
    <monospace>zbesk</monospace> (Amos, 1986) and is used by the
    <monospace>Matern</monospace> kernel of scikit-learn for
    <inline-formula><alternatives>
    <tex-math><![CDATA[\nu\notin\{\tfrac12,\tfrac32,\tfrac52\}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>∉</mml:mo><mml:mo stretchy="false" form="prefix">{</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac><mml:mn>3</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac><mml:mn>5</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mstyle><mml:mo stretchy="false" form="postfix">}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    was evaluated in the same way on the AMD host, using the C++ code of
    SciPy 1.18.1 compiled without floating-point contraction, which
    reproduces SciPy’s values bit for bit. It returns non-finite values
    on <inline-formula><alternatives>
    <tex-math><![CDATA[12.4\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>12.4</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    of the small-<inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[32.7\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>32.7</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    of the large-<inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
    points, has maximum errors of <inline-formula><alternatives>
    <tex-math><![CDATA[186]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>186</mml:mn></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[1458]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1458</mml:mn></mml:math></alternatives></inline-formula> ULP
    on the other datasets and is <inline-formula><alternatives>
    <tex-math><![CDATA[1.9]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.9</mml:mn></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[5.1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>5.1</mml:mn></mml:math></alternatives></inline-formula>
    times slower than the fastest external implementation on each
    dataset; it is therefore not shown in the tables and figures. On the
    half-integer set, its maximum error of
    <inline-formula><alternatives>
    <tex-math><![CDATA[907]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>907</mml:mn></mml:math></alternatives></inline-formula> ULP
    is below that of the other external implementations (GSL:
    <inline-formula><alternatives>
    <tex-math><![CDATA[1248]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1248</mml:mn></mml:math></alternatives></inline-formula> ULP).</p>
  </sec>
  <sec id="secU003Adatasets">
    <title><named-content content-type="header-section-number">4.3</named-content>
    Benchmark datasets</title>
    <p>To evaluate numerical accuracy and computational performance
    across different parameter regimes, we combine broad benchmark
    datasets with targeted numerical stress tests. The grid and the
    random datasets cover general regions of the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(\nu,z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    parameter space, while the remaining datasets examine numerically
    challenging configurations, including small and large arguments,
    integer and half-integer orders, large orders, and
    algorithm-selection boundaries. This combination allows us to assess
    both general performance and robustness in regions where numerical
    difficulties may arise (see
    Table <xref alt="1" rid="tabU003Adesign">1</xref>).</p>
    <table-wrap>
      <caption>
        <p>Benchmark datasets for accuracy and performance evaluation.
        The grid and random datasets provide broad parameter-space
        coverage, while the remaining datasets target numerical stress
        cases and algorithm-selection boundaries. All intervals are
        sampled uniformly, at random unless a grid is stated, and listed
        values are used exactly. The value
        <inline-formula><alternatives>
        <tex-math><![CDATA[z_{\max}(\nu)]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
        is the limit at which <inline-formula><alternatives>
        <tex-math><![CDATA[M_\nu]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
        equals the smallest normal <monospace>binary64</monospace>
        number; it increases from 708.4 at
        <inline-formula><alternatives>
        <tex-math><![CDATA[\nu=0.5]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>0.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
        to 840.7 at <inline-formula><alternatives>
        <tex-math><![CDATA[\nu=39.5]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>39.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.</p>
      </caption>
      <table id="tabU003Adesign">
        <thead>
          <tr>
            <th align="left">Set</th>
            <th align="right"><inline-formula><alternatives>
            <tex-math><![CDATA[N]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula></th>
            <th align="left">Parameter range or sampling</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">Grid</td>
            <td align="right">262,144</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[(\nu,z)\in[0.001,20]\times[0.001,140]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0.001</mml:mn><mml:mo>,</mml:mo><mml:mn>20</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo><mml:mo>×</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0.001</mml:mn><mml:mo>,</mml:mo><mml:mn>140</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
            as <inline-formula><alternatives>
            <tex-math><![CDATA[512\times512]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>512</mml:mn><mml:mo>×</mml:mo><mml:mn>512</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
            grid</td>
          </tr>
          <tr>
            <td align="left">Random</td>
            <td align="right">250,000</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[(\nu,z)\in[0.001,40]^2]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0.001</mml:mn><mml:mo>,</mml:mo><mml:mn>40</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">]</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Small <inline-formula><alternatives>
            <tex-math><![CDATA[z]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">100,000</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[\nu\in[0.001,40]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0.001</mml:mn><mml:mo>,</mml:mo><mml:mn>40</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
            <inline-formula><alternatives>
            <tex-math><![CDATA[\log_{10}z\in[-12,0]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mi>−</mml:mi><mml:mn>12</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Near-integer <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">100,200</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[\nu=n,\ n\pm10^{-k}]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.222em"></mml:mspace><mml:mi>n</mml:mi><mml:mo>±</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
            with <inline-formula><alternatives>
            <tex-math><![CDATA[n=1,\ldots,40]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mn>40</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
            <inline-formula><alternatives>
            <tex-math><![CDATA[k=2,4,\ldots,14]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>4</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mn>14</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>;
            <inline-formula><alternatives>
            <tex-math><![CDATA[\log_{10}z\in[-3,\log_{10}40]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mi>−</mml:mi><mml:mn>3</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mn>40</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
            as <inline-formula><alternatives>
            <tex-math><![CDATA[600\times167]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>600</mml:mn><mml:mo>×</mml:mo><mml:mn>167</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
            grid</td>
          </tr>
          <tr>
            <td align="left">Half-integer <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">100,000</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[\nu\in\{0.5,1.5,\ldots,39.5\}]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">{</mml:mo><mml:mn>0.5</mml:mn><mml:mo>,</mml:mo><mml:mn>1.5</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mn>39.5</mml:mn><mml:mo stretchy="false" form="postfix">}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
            with 2,500 points each, <inline-formula><alternatives>
            <tex-math><![CDATA[\log_{10}z\in[-3,\log_{10}z_{\max}(\nu)]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mi>−</mml:mi><mml:mn>3</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Large <inline-formula><alternatives>
            <tex-math><![CDATA[z]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">100,000</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[\nu\in[0.001,100]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>0.001</mml:mn><mml:mo>,</mml:mo><mml:mn>100</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
            <inline-formula><alternatives>
            <tex-math><![CDATA[z\in[20,800]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>20</mml:mn><mml:mo>,</mml:mo><mml:mn>800</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Large <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">150,000</td>
            <td align="left"><inline-formula><alternatives>
            <tex-math><![CDATA[\log_{10}\nu\in[\log_{10}20,\,3]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mi>ν</mml:mi><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mn>20</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.167em"></mml:mspace><mml:mn>3</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
            <inline-formula><alternatives>
            <tex-math><![CDATA[\log_{10}(z/\nu)\in[-4,1]]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>10</mml:mn></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mi>/</mml:mi><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>∈</mml:mo><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mi>−</mml:mi><mml:mn>4</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Router seams</td>
            <td align="right">100,000</td>
            <td align="left">4,000 points on router borders, each
            shifted along one axis by <inline-formula><alternatives>
            <tex-math><![CDATA[0,\pm2^j]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>±</mml:mi><mml:msup><mml:mn>2</mml:mn><mml:mi>j</mml:mi></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
            ULP, <inline-formula><alternatives>
            <tex-math><![CDATA[j=1,\ldots,12]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:mn>12</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          </tr>
        </tbody>
      </table>
    </table-wrap>
    <p>To assess performance scaling with batch size, we evaluate size
    ladders with <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^a]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mi>a</mml:mi></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[8\leq a\leq25]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>8</mml:mn><mml:mo>≤</mml:mo><mml:mi>a</mml:mi><mml:mo>≤</mml:mo><mml:mn>25</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    using two complementary workloads, see
    Figure <xref alt="A4" rid="figU003Aapp-06">A4</xref> and
    Table <xref alt="B11" rid="tabU003Amagnitude">B11</xref>. Each
    ladder size up to <inline-formula><alternatives>
    <tex-math><![CDATA[2^{21}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>21</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    is timed as a single call on its <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    points. The sizes from <inline-formula><alternatives>
    <tex-math><![CDATA[2^{22}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>22</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    upwards, whose arrays exceed the last-level cache, are taken from
    one pass over the first <inline-formula><alternatives>
    <tex-math><![CDATA[2^{25}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    points in consecutive blocks of <inline-formula><alternatives>
    <tex-math><![CDATA[2^{22}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>22</mml:mn></mml:msup></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[2^{22}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>22</mml:mn></mml:msup></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[2^{23}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>23</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[2^{24}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mn>24</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    points, with one call per block and the clock read after each block;
    the cost at size <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    is the time for the first <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    points divided by <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>.
    The external implementations are timed with the clock read at the
    same block boundaries. A balanced random mixture of parameter
    regimes exercises heterogeneous numerical method selection, whereas
    a homogeneous workload with fixed half-integer order
    <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    evaluates the dedicated polynomial path without method-grouping
    overhead. The random sampling mixture is specified in
    Table <xref alt="B5" rid="tabU003Aapp-ladder">B5</xref>.</p>
  </sec>
  <sec id="secU003Atiming">
    <title><named-content content-type="header-section-number">4.4</named-content>
    Performance measurement</title>
    <p>CPU execution times are measured with
    <monospace>CLOCK_MONOTONIC</monospace>, which is backed by an
    invariant time-stamp counter on the test systems, on a single thread
    with two warm-up calls and 25 measured repetitions; the reported
    costs are medians over these repetitions. Speedups are ratios of
    these medians. Their spread is given by speedup bounds, the ratios
    of the lower quartile of the numerator to the upper quartile of the
    denominator and vice versa; these bounds describe the spread within
    a run, and differences between runs are given below. The reported
    SIMD timings include input grouping and output permutation, while
    the reported library timings include workspace creation in every
    call. Figure <xref alt="A3" rid="figU003Aapp-05">A3</xref> shows the
    cost with a reused workspace. To provide comparable performance
    measurements, we distinguish numerical evaluation costs from
    additional execution and data-transfer overhead and report them
    separately, see Table <xref alt="4" rid="tabU003Agpu-time">4</xref>.
    For CUDA, we report both kernel execution times measured using GPU
    events and end-to-end times measured using the host clock, including
    staging, host–device transfers and kernel launch overhead, again as
    medians of 25 repetitions after two warm-up calls.</p>
    <p>The primary CPU measurements were performed on an AMD EPYC 9454,
    with an Intel Xeon Platinum 8358 used for additional comparisons.
    GPU measurements were performed on an NVIDIA A100 80 GB PCIe GPU.
    The library and the C drivers are compiled with GCC 11.5.0
    (<monospace>-O2 -ffp-contract=fast</monospace> and per-backend
    instruction-set flags), the baselines with
    <monospace>-march=native -O2</monospace> on the measuring host (GCC
    11.5.0 for the C ports, g++ 14.2.0 for the C++ baselines), and the
    CUDA code with nvcc 12.8 (<monospace>-O2 -arch=sm_80</monospace>);
    the complete configuration is given in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>. Accuracy and
    timings of each implementation are obtained with the same executable
    on the same points. Measurements were conducted on exclusively
    allocated cluster nodes. All results were computed with
    <monospace>libmatern</monospace> 0.9.5 at commit
    <monospace>e370401</monospace>; later commits of the release change
    neither the computational sources nor the compiler flags. Each run
    records its build configuration, environment and SHA-256 digests of
    all sources. Every point is evaluated independently, by one SIMD
    lane or one CUDA thread without reductions across points, so its
    result does not depend on batch composition, order or thread count;
    the test suite checks this bit for bit. Accordingly, the outputs of
    all <monospace>libmatern</monospace> CPU backends are byte-identical
    on both CPUs. A repeat of the nine runs at the same commit, on other
    nodes of the same types, reproduced every accuracy statistic
    exactly; the median costs of at least <inline-formula><alternatives>
    <tex-math><![CDATA[98\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>98</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    of the timing rows on each machine agreed within
    <inline-formula><alternatives>
    <tex-math><![CDATA[\pm10\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>±</mml:mi><mml:mn>10</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    (AMD <inline-formula><alternatives>
    <tex-math><![CDATA[99.9\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>99.9</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    Intel <inline-formula><alternatives>
    <tex-math><![CDATA[99.6\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>99.6</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    GPU <inline-formula><alternatives>
    <tex-math><![CDATA[98.4\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>98.4</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    kernel and end-to-end rows). The larger differences occur for very
    short GPU kernels, in host–device transfers and at a few individual
    points.</p>
  </sec>
</sec>
<sec id="secU003Aresults">
  <title><named-content content-type="header-section-number">5</named-content>
  Results</title>
  <sec id="secU003Aablation">
    <title><named-content content-type="header-section-number">5.1</named-content>
    Effect of the mathematical folding</title>
    <p>The effect of prefactor folding was evaluated against direct and
    log-domain covariance assembly in a common scalar
    <monospace>binary64</monospace> environment.
    Figure <xref alt="2" rid="figU003Afolding">2</xref> reports median
    and maximum ULP distance and per-element runtime. Folding matches or
    reduces both error statistics on nearly all tested sets; direct
    assembly has a smaller maximum error on the router-seam set. Folded
    evaluation is faster on nine of the ten sets (the eight datasets of
    Table <xref alt="1" rid="tabU003Adesign">1</xref> and the two
    size-ladder sets with <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^{20}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>20</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>).</p>
    <fig id="figU003Afolding">
      <caption><p>Effect of incorporating the Matérn prefactor into the
      scalar Bessel-function formulations. The top row reports the
      median (left) and maximum (right) ULP distance, and the lower
      panel the time per covariance evaluation in nanoseconds. Filled
      circles indicate folded evaluation; triangles and squares denote
      the unfolded direct and logarithmic-assembly alternatives. Hollow
      markers denote results over the finite points of a variant that
      returned non-finite values on some points. All methods were
      assessed with scalar <monospace>binary64</monospace> arithmetic on
      the AMD CPU specified in
      Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
      <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-fold-z_nu.pdf" />
    </fig>
    <p>The effect of the Levin–Weniger acceleration differs between CPU
    and GPU. For AVX-512, acceleration reduces the maximum error on the
    grid set, with a small decrease in runtime
    (Figure <xref alt="A6" rid="figU003Aapp-10">A6</xref>). For CUDA, it
    does not improve accuracy and has no net effect on runtime
    (Figure <xref alt="A7" rid="figU003Aapp-11">A7</xref>). Accordingly,
    acceleration is retained in the SIMD router, but omitted from the
    CUDA router.</p>
  </sec>
  <sec id="secU003Aaccuracy">
    <title><named-content content-type="header-section-number">5.2</named-content>
    Numerical accuracy and non-finite results</title>
    <table-wrap>
      <caption>
        <p>Pointwise numerical accuracy of the AVX-512 CPU and CUDA A100
        implementations on the eight datasets. Entries are the median
        and maximum absolute ULP distances relative to FLINT-derived
        high-precision references, calculated by
        Equation <xref alt="(35)" rid="eqU003Aulp">(35)</xref>. The
        median factor is taken against the best median among all
        external implementations; the maximum factor is against the best
        competitor without non-finite results as described in
        Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>. A factor
        is the ratio of the external to the
        <monospace>libmatern</monospace> value, so values above 1
        indicate that <monospace>libmatern</monospace> is more accurate.
        All observations in these datasets produced finite outputs for
        the two listed backends. Detailed results for the competing CPU
        and GPU methods are given in
        Table <xref alt="B8" rid="tabU003AappU003Aerr_medmax_h">B8</xref>
        and
        Table <xref alt="B9" rid="tabU003AappU003Aerr_medmax_h_gpu">B9</xref>.</p>
      </caption>
      <table id="tabU003Aaccuracy">
        <thead>
          <tr>
            <th align="left"></th>
            <th align="center" colspan="3">AVX-512 CPU</th>
            <th align="center" colspan="3">CUDA A100</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">Set</td>
            <td align="right">median ULP</td>
            <td align="right">max ULP</td>
            <td align="right">Factor</td>
            <td align="right">median ULP</td>
            <td align="right">max ULP</td>
            <td align="right">Factor</td>
          </tr>
          <tr>
            <td align="left">Grid</td>
            <td align="right">1.10</td>
            <td align="right">12.5</td>
            <td align="right">0.671/0.495</td>
            <td align="right">1.22</td>
            <td align="right">13.5</td>
            <td align="right">1.06/1.60</td>
          </tr>
          <tr>
            <td align="left">Random</td>
            <td align="right">1.02</td>
            <td align="right">21.8</td>
            <td align="right">0.759/0.294</td>
            <td align="right">1.04</td>
            <td align="right">23.9</td>
            <td align="right">1.61/1.24</td>
          </tr>
          <tr>
            <td align="left">Small <inline-formula><alternatives>
            <tex-math><![CDATA[z]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.483</td>
            <td align="right">10.4</td>
            <td align="right">1.96/201</td>
            <td align="right">0.483</td>
            <td align="right">7.13</td>
            <td align="right">4.14/290</td>
          </tr>
          <tr>
            <td align="left">Near-integer <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.864</td>
            <td align="right">17.7</td>
            <td align="right">1.03/0.352</td>
            <td align="right">0.861</td>
            <td align="right">16.7</td>
            <td align="right">2.28/1.46</td>
          </tr>
          <tr>
            <td align="left">Half-integer <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.600</td>
            <td align="right">10.4</td>
            <td align="right">1.68/120</td>
            <td align="right">0.567</td>
            <td align="right">6.96</td>
            <td align="right">2.67/191</td>
          </tr>
          <tr>
            <td align="left">Large <inline-formula><alternatives>
            <tex-math><![CDATA[z]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.707</td>
            <td align="right">14.7</td>
            <td align="right">1.28/98.7</td>
            <td align="right">0.740</td>
            <td align="right">21.3</td>
            <td align="right">2.10/85.1</td>
          </tr>
          <tr>
            <td align="left">Large <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.729</td>
            <td align="right">25.1</td>
            <td align="right">80.1/1032</td>
            <td align="right">0.729</td>
            <td align="right">25.1</td>
            <td align="right">79.9/1268</td>
          </tr>
          <tr>
            <td align="left">Router seams</td>
            <td align="right">1.06</td>
            <td align="right">22.4</td>
            <td align="right">0.729/1.01</td>
            <td align="right">1.06</td>
            <td align="right">65.4</td>
            <td align="right">1.57/1.54</td>
          </tr>
        </tbody>
      </table>
    </table-wrap>
    <p>CPU and GPU <monospace>libmatern</monospace> backends return
    finite values on all eight datasets. Median ULP distances range from
    approximately <inline-formula><alternatives>
    <tex-math><![CDATA[0.48]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.48</mml:mn></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[1.22]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.22</mml:mn></mml:math></alternatives></inline-formula>
    (Table <xref alt="2" rid="tabU003Aaccuracy">2</xref>), and the
    largest reported maximum is 65.4 ULP on the router-seam set. Boost
    achieves smaller median and maximum errors than the AVX-512
    implementation on the grid and random sets, a smaller maximum on the
    near-integer set and a smaller median on the router-seam set.
    Figure <xref alt="A10" rid="figU003Aapp-14">A10</xref> compares CPU
    runtime and accuracy, while
    Figure <xref alt="A12" rid="figU003Aapp-16">A12</xref> shows the
    corresponding ULP distributions.</p>
    <p>Some competing implementations return non-finite values on the
    stress datasets. On the 100,000-point
    small-<inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    set, the CPU Bessels.jl port returns 11,913 non-finite values and
    Boost returns 11,856, about 12% of the points; the corresponding
    counts on the 150,000-point large-<inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
    set are 48,712 and 47,474, i.e. about 32%. Such values propagate
    into any covariance matrix assembled from them. In their selected
    assembly, GSL and the modified CuBesselK port return finite outputs
    throughout these two sets.
    Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref> reports the
    failure counts;
    Tables <xref alt="B8" rid="tabU003AappU003Aerr_medmax_h">B8</xref>
    and <xref alt="B9" rid="tabU003AappU003Aerr_medmax_h_gpu">B9</xref>
    give the accuracy statistics conditional on finite evaluation.</p>
    <p>All datasets were also evaluated with the Matérn parameterisation
    <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[z=\sqrt{2\nu}h/s]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:msqrt><mml:mi>h</mml:mi><mml:mi>/</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    which applications pass, using <inline-formula><alternatives>
    <tex-math><![CDATA[h=z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>h</mml:mi><mml:mo>=</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[s=\sqrt{2\nu}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:msqrt></mml:mrow></mml:math></alternatives></inline-formula>
    rounded to <monospace>binary64</monospace>. The external
    implementations accept <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    only as a single <monospace>binary64</monospace> number, so the
    argument is rounded before their evaluation, whereas
    <monospace>libmatern</monospace> derives it internally from
    <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    without this rounding. Since <inline-formula><alternatives>
    <tex-math><![CDATA[M_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    decays approximately like <inline-formula><alternatives>
    <tex-math><![CDATA[e^{-z}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>−</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:msup></mml:math></alternatives></inline-formula>
    for large <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
    a relative rounding error <inline-formula><alternatives>
    <tex-math><![CDATA[\delta]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>δ</mml:mi></mml:math></alternatives></inline-formula>
    in <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    causes a relative error of about <inline-formula><alternatives>
    <tex-math><![CDATA[z\delta]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mi>δ</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
    in <inline-formula><alternatives>
    <tex-math><![CDATA[M_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>,
    regardless of how <inline-formula><alternatives>
    <tex-math><![CDATA[M_\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>M</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
    is evaluated. Accordingly, Boost, GSL and
    <monospace>std::cyl_bessel_k</monospace>, whose medians differ on
    the <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    grid set (<inline-formula><alternatives>
    <tex-math><![CDATA[0.740]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.740</mml:mn></mml:math></alternatives></inline-formula>,
    <inline-formula><alternatives>
    <tex-math><![CDATA[1.34]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.34</mml:mn></mml:math></alternatives></inline-formula>
    and <inline-formula><alternatives>
    <tex-math><![CDATA[1.39]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.39</mml:mn></mml:math></alternatives></inline-formula> ULP),
    reach nearly the same median on the <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    grid set (<inline-formula><alternatives>
    <tex-math><![CDATA[12.7]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>12.7</mml:mn></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[12.8]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>12.8</mml:mn></mml:math></alternatives></inline-formula> ULP;
    Figures <xref alt="A10" rid="figU003Aapp-14">A10</xref>
    and <xref alt="A11" rid="figU003Aapp-15">A11</xref>).</p>
    <p>With the <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    interface, the AVX-512 implementation of
    <monospace>libmatern</monospace> is more accurate, in both median
    and maximum, and faster than all tested external CPU implementations
    on all eight datasets
    (Figures <xref alt="A11" rid="figU003Aapp-15">A11</xref>
    and <xref alt="A13" rid="figU003Aapp-17">A13</xref>); on the GPU,
    <monospace>libmatern-cuda</monospace> is the most accurate and
    fastest implementation on all eight datasets
    (Figure <xref alt="A17" rid="figU003Aapp-23">A17</xref>). The
    <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    results above therefore compare the numerical methods, and the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    results the interface that applications call.</p>
  </sec>
  <sec id="cpu-throughput">
    <title><named-content content-type="header-section-number">5.3</named-content>
    CPU throughput</title>
    <table-wrap>
      <caption>
        <p>Per-element CPU execution cost for the random ladder and the
        fixed half-integer size ladder at <inline-formula><alternatives>
        <tex-math><![CDATA[N=2^{25}\approx 3.4\cdot10^7]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup><mml:mo>≈</mml:mo><mml:mn>3.4</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>7</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.
        All entries are nanoseconds per covariance evaluation for
        single-threaded execution on the AMD host, measured over four
        consecutive blocks as described in
        Section <xref alt="4.3" rid="secU003Adatasets">4.3</xref> and
        including SIMD grouping and output permutation. The random
        ladder uses the mixture in
        Table <xref alt="B5" rid="tabU003Aapp-ladder">B5</xref>, whereas
        the half-integer ladder fixes <inline-formula><alternatives>
        <tex-math><![CDATA[\nu=2.5]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>;
        the two workloads are evaluated separately. Lower values
        indicate greater throughput. Entries are medians over 25
        repetitions; IQR is the interquartile range in per cent of the
        median. The speedup bounds of
        Section <xref alt="4.4" rid="secU003Atiming">4.4</xref>, which
        pair opposite quartiles of the two implementations, differ from
        the speedups at <inline-formula><alternatives>
        <tex-math><![CDATA[N=2^{25}]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
        by less than <inline-formula><alternatives>
        <tex-math><![CDATA[0.2\%]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>0.2</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>.</p>
      </caption>
      <table id="tabU003Acpu-time">
        <thead>
          <tr>
            <th align="left"></th>
            <th align="center" colspan="2">Random</th>
            <th align="center" colspan="2"><inline-formula><alternatives>
            <tex-math><![CDATA[\nu=2.5]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">Method</td>
            <td align="right">ns/value</td>
            <td align="right">IQR (%)</td>
            <td align="right">ns/value</td>
            <td align="right">IQR (%)</td>
          </tr>
          <tr>
            <td align="left">
            <monospace>libmatern</monospace>, scalar</td>
            <td align="right">168</td>
            <td align="right">0.12</td>
            <td align="right">6.49</td>
            <td align="right">0.04</td>
          </tr>
          <tr>
            <td align="left"><monospace>libmatern</monospace>, matched
            scalar</td>
            <td align="right">211</td>
            <td align="right">0.02</td>
            <td align="right">15.0</td>
            <td align="right">0.03</td>
          </tr>
          <tr>
            <td align="left"><monospace>libmatern</monospace>,
            matched+FMA</td>
            <td align="right">112</td>
            <td align="right">0.03</td>
            <td align="right">7.69</td>
            <td align="right">0.02</td>
          </tr>
          <tr>
            <td align="left"><monospace>libmatern</monospace>, AVX2</td>
            <td align="right">31.8</td>
            <td align="right">0.03</td>
            <td align="right">2.02</td>
            <td align="right">0.07</td>
          </tr>
          <tr>
            <td align="left"><monospace>libmatern</monospace>,
            AVX-512</td>
            <td align="right">23.7</td>
            <td align="right">0.03</td>
            <td align="right">1.31</td>
            <td align="right">0.15</td>
          </tr>
          <tr>
            <td align="left">Bessels.jl-derived,
            scaled</td>
            <td align="right">180</td>
            <td align="right">0.01</td>
            <td align="right">94.1</td>
            <td align="right">0.02</td>
          </tr>
          <tr>
            <td align="left">Bessels.jl-derived v0.2.8, scaled</td>
            <td align="right">156</td>
            <td align="right">0.03</td>
            <td align="right">119</td>
            <td align="right">0.01</td>
          </tr>
          <tr>
            <td align="left">Boost 1.75</td>
            <td align="right">948</td>
            <td align="right"><inline-formula><alternatives>
            <tex-math><![CDATA[<]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mo>&lt;</mml:mo></mml:math></alternatives></inline-formula>0.01</td>
            <td align="right">536</td>
            <td align="right">0.01</td>
          </tr>
          <tr>
            <td align="left">GSL 2.6</td>
            <td align="right">244</td>
            <td align="right">0.01</td>
            <td align="right">188</td>
            <td align="right">0.03</td>
          </tr>
          <tr>
            <td align="left">libstdc++
            <monospace>cyl_bessel_k</monospace></td>
            <td align="right">304</td>
            <td align="right">0.05</td>
            <td align="right">193</td>
            <td align="right">0.03</td>
          </tr>
        </tbody>
      </table>
    </table-wrap>
    <p>On the <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^{25}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
    random ladder, the AVX-512 implementation is
    <inline-formula><alternatives>
    <tex-math><![CDATA[6.6\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>6.6</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    faster than the fastest external baseline, the Bessels.jl v0.2.8
    port, and <inline-formula><alternatives>
    <tex-math><![CDATA[7.1\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>7.1</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    faster than the scalar <monospace>libmatern</monospace> backend
    (Table <xref alt="3" rid="tabU003Acpu-time">3</xref>). Along the 18
    ladder sizes, the former speedup ranges from
    <inline-formula><alternatives>
    <tex-math><![CDATA[2.2\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.2</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    at <inline-formula><alternatives>
    <tex-math><![CDATA[N=256]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>256</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[6.8\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>6.8</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    at <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^{16}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>16</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>,
    with a median of <inline-formula><alternatives>
    <tex-math><![CDATA[6.6\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>6.6</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    (Figure <xref alt="A4" rid="figU003Aapp-06">A4</xref>); across the
    eight benchmark datasets, it ranges from
    <inline-formula><alternatives>
    <tex-math><![CDATA[3.9\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>3.9</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    (large <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>)
    to <inline-formula><alternatives>
    <tex-math><![CDATA[21\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>21</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    (half-integer <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>),
    with a median of <inline-formula><alternatives>
    <tex-math><![CDATA[7.5\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>7.5</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    (Figure <xref alt="A10" rid="figU003Aapp-14">A10</xref>); their
    speedup bounds
    (Section <xref alt="4.4" rid="secU003Atiming">4.4</xref>) differ
    from these values by less than <inline-formula><alternatives>
    <tex-math><![CDATA[1\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>.
    These figures refer to single-threaded covariance evaluation on
    synthetic workloads; as the random mixture was designed to cover the
    routing regions
    (Table <xref alt="B5" rid="tabU003Aapp-ladder">B5</xref>), speedups
    in applications depend on their parameter distribution and batch
    sizes. For the fixed order <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    evaluated by the finite polynomial in
    Equation <xref alt="(33)" rid="eqU003Ahalf">(33)</xref>, the speedup
    over the fastest external implementation grows from
    <inline-formula><alternatives>
    <tex-math><![CDATA[3.9\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>3.9</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    at <inline-formula><alternatives>
    <tex-math><![CDATA[N=256]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>256</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[72\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>72</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    at <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^{25}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.
    Batch-size scaling and workspace overhead are reported in
    Figures <xref alt="A3" rid="figU003Aapp-05">A3</xref>, <xref alt="A4" rid="figU003Aapp-06">A4</xref>
    and <xref alt="A15" rid="figU003Aapp-20">A15</xref>.
    Figure <xref alt="A14" rid="figU003Aapp-18">A14</xref> shows thread
    scaling on the Intel CPU, while the AMD CPU exhibits near-linear
    scaling without notable deviations.</p>
  </sec>
  <sec id="secU003Agpu">
    <title><named-content content-type="header-section-number">5.4</named-content>
    GPU kernel and end-to-end performance</title>
    <p>Across all eight datasets, the CUDA implementation achieves
    kernel-level speedups of <inline-formula><alternatives>
    <tex-math><![CDATA[1.66\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.66</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    to <inline-formula><alternatives>
    <tex-math><![CDATA[6.79\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>6.79</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    over the fastest tested external GPU implementations
    (Table <xref alt="B10" rid="tabU003AappU003Agpu-cost-z-nu">B10</xref>;
    Figure <xref alt="A16" rid="figU003Aapp-22">A16</xref>). Including
    host–device transfers reduces these speedups to
    <inline-formula><alternatives>
    <tex-math><![CDATA[1.00\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.00</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>–<inline-formula><alternatives>
    <tex-math><![CDATA[1.81\times]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.81</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    (Table <xref alt="4" rid="tabU003Agpu-time">4</xref>), demonstrating
    that transfer overhead substantially limits end-to-end performance.
    The kernel cost–accuracy comparisons demonstrate that these
    performance gains are accompanied by competitive numerical accuracy
    across the tested datasets
    (Figure <xref alt="A16" rid="figU003Aapp-22">A16</xref>). The GPU
    becomes faster than the AVX-512 CPU implementation at approximately
    <inline-formula><alternatives>
    <tex-math><![CDATA[7{,}600]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>7</mml:mn><mml:mo>,</mml:mo><mml:mn>600</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    elements for the random workload
    (Figure <xref alt="A5" rid="figU003Aapp-07">A5</xref>) and only at
    approximately <inline-formula><alternatives>
    <tex-math><![CDATA[1.1\times10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
    elements for the fixed order <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>;
    at the ladder sizes on either side of both crossovers, the
    interquartile ranges of the GPU and CPU costs do not overlap, so the
    change in order is resolved by the data. Synchronous transfers
    perform better for smaller arrays, whereas mapped asynchronous
    memory becomes advantageous for sufficiently large arrays.</p>
    <table-wrap>
      <caption>
        <p>CUDA execution cost and speedup of
        <monospace>libmatern-cuda</monospace> for the eight datasets on
        the NVIDIA A100. Kernel columns report CUDA-event time divided
        by the number of evaluations; end-to-end columns include
        host-side staging and host–device transfers. Times are expressed
        in nanoseconds per evaluated covariance. For each dataset and
        timing mode, the speedup is calculated against the fastest
        tested external GPU implementation in that mode; this competitor
        differs between datasets and, on the grid set, between the
        kernel and end-to-end columns. End-to-end values use each
        implementation’s fastest observed transfer strategy. Entries are
        medians over 25 repetitions; IQR is the interquartile range of
        the <monospace>libmatern-cuda</monospace> times in per cent of
        the median. The speedup bounds of
        Section <xref alt="4.4" rid="secU003Atiming">4.4</xref>, which
        pair opposite quartiles of both implementations, differ from the
        speedups by at most <inline-formula><alternatives>
        <tex-math><![CDATA[0.12]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.12</mml:mn></mml:math></alternatives></inline-formula>
        (kernel) and <inline-formula><alternatives>
        <tex-math><![CDATA[0.02]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.02</mml:mn></mml:math></alternatives></inline-formula>
        (end-to-end); only those of the grid end-to-end ratio
        (<inline-formula><alternatives>
        <tex-math><![CDATA[0.99]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.99</mml:mn></mml:math></alternatives></inline-formula>–<inline-formula><alternatives>
        <tex-math><![CDATA[1.01]]></tex-math>
        <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.01</mml:mn></mml:math></alternatives></inline-formula>)
        include parity.</p>
      </caption>
      <table id="tabU003Agpu-time">
        <thead>
          <tr>
            <th align="left"></th>
            <th align="center" colspan="3">Kernel</th>
            <th align="center" colspan="3">End-to-end call</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">Set</td>
            <td align="right">ns/value</td>
            <td align="right">IQR (%)</td>
            <td align="right">speedup</td>
            <td align="right">ns/value</td>
            <td align="right">IQR (%)</td>
            <td align="right">speedup</td>
          </tr>
          <tr>
            <td align="left">Grid</td>
            <td align="right">0.273</td>
            <td align="right">1.4</td>
            <td align="right">1.66<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">3.91</td>
            <td align="right">1.2</td>
            <td align="right">1.00<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Random</td>
            <td align="right">0.778</td>
            <td align="right">1.6</td>
            <td align="right">1.73<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">4.02</td>
            <td align="right">0.4</td>
            <td align="right">1.12<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Small <inline-formula><alternatives>
            <tex-math><![CDATA[z]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.440</td>
            <td align="right">2.3</td>
            <td align="right">2.07<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">5.88</td>
            <td align="right">1.0</td>
            <td align="right">1.06<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Near-integer <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.531</td>
            <td align="right"><inline-formula><alternatives>
            <tex-math><![CDATA[<]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mo>&lt;</mml:mo></mml:math></alternatives></inline-formula>0.1</td>
            <td align="right">2.54<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">6.18</td>
            <td align="right">1.0</td>
            <td align="right">1.12<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Half-integer <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.164</td>
            <td align="right"><inline-formula><alternatives>
            <tex-math><![CDATA[<]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mo>&lt;</mml:mo></mml:math></alternatives></inline-formula>0.1</td>
            <td align="right">5.12<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">5.59</td>
            <td align="right">0.5</td>
            <td align="right">1.09<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Large <inline-formula><alternatives>
            <tex-math><![CDATA[z]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.594</td>
            <td align="right">1.7</td>
            <td align="right">2.52<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">6.31</td>
            <td align="right">0.9</td>
            <td align="right">1.12<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Large <inline-formula><alternatives>
            <tex-math><![CDATA[\nu]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">0.799</td>
            <td align="right">1.7</td>
            <td align="right">6.79<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">5.38</td>
            <td align="right">1.0</td>
            <td align="right">1.81<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
          <tr>
            <td align="left">Router seams</td>
            <td align="right">0.471</td>
            <td align="right">2.2</td>
            <td align="right">1.83<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
            <td align="right">6.67</td>
            <td align="right">1.0</td>
            <td align="right">1.03<inline-formula><alternatives>
            <tex-math><![CDATA[\times]]></tex-math>
            <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          </tr>
        </tbody>
      </table>
    </table-wrap>
  </sec>
</sec>
<sec id="secU003Adiscussion">
  <title><named-content content-type="header-section-number">6</named-content>
  Discussion and limitations</title>
  <p>The benchmark datasets cover a broad range of numerical regimes,
  including challenging parameter configurations and algorithm-selection
  boundaries. This provides a systematic basis for evaluating numerical
  accuracy and computational performance across the investigated domain.
  However, the datasets are not necessarily representative of parameter
  distributions encountered in practical applications, so the observed
  advantages may differ for application-specific workloads.</p>
  <p>While the experiments establish the numerical accuracy and
  computational performance of individual Matérn covariance evaluations,
  they do not establish how these results translate to complete
  Gaussian-process applications. In particular, pointwise covariance
  accuracy does not necessarily imply numerical stability in
  covariance-matrix factorisation or subsequent inference. Evaluating
  these downstream effects, including their dependence on matrix
  conditioning, remains an important direction for future work.</p>
  <p>The effect on the runtime of a likelihood evaluation can be
  estimated from
  Table <xref alt="B11" rid="tabU003Amagnitude">B11</xref>. For a
  non-stationary covariance on an <inline-formula><alternatives>
  <tex-math><![CDATA[M\times M]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>×</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
  image, a dense Gaussian likelihood requires about
  <inline-formula><alternatives>
  <tex-math><![CDATA[M^4/2]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi>M</mml:mi><mml:mn>4</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  covariance calculations, and a Cholesky factorisation of about
  <inline-formula><alternatives>
  <tex-math><![CDATA[M^6/3]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi>M</mml:mi><mml:mn>6</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>3</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  floating-point operations. With the random-ladder costs in
  Table <xref alt="3" rid="tabU003Acpu-time">3</xref> and assumed
  single-core factorisation rates of 30 to 70 GFLOP/s, covariance
  evaluation accounts for <inline-formula><alternatives>
  <tex-math><![CDATA[67]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>67</mml:mn></mml:math></alternatives></inline-formula>
  to <inline-formula><alternatives>
  <tex-math><![CDATA[82\%]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>82</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
  of the time at <inline-formula><alternatives>
  <tex-math><![CDATA[M=23]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>=</mml:mo><mml:mn>23</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  and <inline-formula><alternatives>
  <tex-math><![CDATA[11]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>11</mml:mn></mml:math></alternatives></inline-formula>
  to <inline-formula><alternatives>
  <tex-math><![CDATA[23\%]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>23</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
  at <inline-formula><alternatives>
  <tex-math><![CDATA[M=91]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>=</mml:mo><mml:mn>91</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
  with <monospace>libmatern</monospace>, compared with
  <inline-formula><alternatives>
  <tex-math><![CDATA[93]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>93</mml:mn></mml:math></alternatives></inline-formula>
  to <inline-formula><alternatives>
  <tex-math><![CDATA[97\%]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>97</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
  and <inline-formula><alternatives>
  <tex-math><![CDATA[46]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>46</mml:mn></mml:math></alternatives></inline-formula>
  to <inline-formula><alternatives>
  <tex-math><![CDATA[66\%]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>66</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
  with the fastest external implementation; a likelihood evaluation is
  thus about <inline-formula><alternatives>
  <tex-math><![CDATA[4.7]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>4.7</mml:mn></mml:math></alternatives></inline-formula>
  to <inline-formula><alternatives>
  <tex-math><![CDATA[5.6]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>5.6</mml:mn></mml:math></alternatives></inline-formula>
  and <inline-formula><alternatives>
  <tex-math><![CDATA[1.6]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.6</mml:mn></mml:math></alternatives></inline-formula>
  to <inline-formula><alternatives>
  <tex-math><![CDATA[2.3]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>2.3</mml:mn></mml:math></alternatives></inline-formula>
  times faster. For stationary covariances, only
  <inline-formula><alternatives>
  <tex-math><![CDATA[O(M^2)]]></tex-math>
  <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>M</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
  values are required, and their evaluation time is negligible.</p>
</sec>
<sec id="secU003Aconclusion">
  <title><named-content content-type="header-section-number">7</named-content>
  Conclusion</title>
  <p>Our results demonstrate that the numerical formulation of the
  Matérn covariance is itself an important factor in achieving accurate
  and efficient evaluation. Incorporating the Matérn prefactor directly
  into the numerical methods reduces intermediate floating-point range
  restrictions and improves numerical accuracy on nearly all tested
  datasets, even without SIMD execution. Mathematical reformulation and
  architecture-specific optimisation thus provide complementary
  benefits, enabling substantial additional performance gains on SIMD
  CPUs and CUDA GPUs. The SIMD and CUDA implementations combine
  competitive or improved numerical accuracy with higher throughput than
  the tested external implementations on nearly all reported CPU and GPU
  benchmarks.</p>
</sec>
<sec id="data-and-code-availability" sec-type="data-availability">
  <title>Data and Code Availability</title>
  <p>The <monospace>libmatern</monospace> implementation and the
  benchmark suite are available at
  <ext-link ext-link-type="uri" xlink:href="https://github.com/DanielMann27/libmatern">https://github.com/DanielMann27/libmatern</ext-link>.
  The fixed benchmark arrays and high-precision reference data are
  archived as described by Mann and Schlather (2026). The run
  directories behind all reported results are attached to release v0.9.6
  (<monospace>libmatern-0.9.6-runs.tar.gz</monospace>);
  <monospace>make figures</monospace> and
  <monospace>make tables</monospace> regenerate the figures and tables
  from them, and <monospace>make reproduce</monospace> repeats the
  benchmarks
  (Table <xref alt="B13" rid="tabU003Aapp-map">B13</xref>).</p>
</sec>
<sec id="acknowledgements">
  <title>Acknowledgements</title>
  <p>The authors acknowledge support by the state of Baden-Württemberg
  through bwHPC and thank Guido Moerkotte for discussions and
  suggestions.</p>
</sec>
<sec id="competing-interests">
  <title>Competing interests</title>
  <p>The authors develop <monospace>libmatern</monospace>. They declare
  no financial competing interests.</p>
</sec>
<sec id="ai-disclosure">
  <title>AI Disclosure</title>
  <p>Generative AI tools were used to assist with language and
  copy-editing, literature searches, code development and debugging,
  data analysis, and the generation and refinement of manuscript text.
  All AI-assisted content, including code, analyses, scientific
  statements, and references, was critically reviewed and verified by
  the authors, who take full responsibility for the accuracy and
  integrity of the final work.</p>
  </sec>
<sec id="appU003Afigures">
  <title><named-content content-type="header-section-number">A</named-content>
  Additional figures</title>
  <fig id="figU003Aapp-01">
    <caption><p>Numerical domain decomposition for the Bessels.jl main
    branch (a) and v0.2.8 (b) with logarithmic axes. Colours and
    patterns denote the numerical formulations selected by each
    implementation, and the curves indicate changes of algorithm. The
    Power series region uses an approach based on
    Equation <xref alt="(4)" rid="eqU003Abessel-power">(4)</xref>. Marks
    on the <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
    axis show isolated orders with a dedicated path: in (a) the Temme
    series at integer <inline-formula><alternatives>
    <tex-math><![CDATA[\nu\le25]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≤</mml:mo><mml:mn>25</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    for <inline-formula><alternatives>
    <tex-math><![CDATA[z\le1.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>≤</mml:mo><mml:mn>1.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    (ticks); in (b) the half-integer closed form for every
    <inline-formula><alternatives>
    <tex-math><![CDATA[z]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
    (ticks above the axis) and the up-recurrence from
    <inline-formula><alternatives>
    <tex-math><![CDATA[K_0,K_1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
    at integer <inline-formula><alternatives>
    <tex-math><![CDATA[\nu]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
    below the large-order and large-argument regions (triangles). The
    marks are drawn shortened for visual clarity. These partitions are
    properties of the cited implementations and are not the final
    routing boundaries used by
    <monospace>libmatern</monospace>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-domain-bessels.pdf" />
  </fig>
  <fig id="figU003Aapp-03">
    <caption><p>Effect of the Boost implementation and evaluation
    strategy on the relative error of <inline-formula><alternatives>
    <tex-math><![CDATA[K_{\nu}(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    near <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
    The panels compare the host CPU implementation in long-double
    precision (<monospace>boost</monospace>, version 1.87.0), the GPU
    implementation in double precision
    (<monospace>boost-gpu</monospace>), and the modified GPU
    implementation using the recurrence rule
    (<monospace>boost-gpu-modified</monospace>). The curves correspond
    to different offsets <inline-formula><alternatives>
    <tex-math><![CDATA[\delta]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>δ</mml:mi></mml:math></alternatives></inline-formula>
    from <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
    including the exact half-integer case <inline-formula><alternatives>
    <tex-math><![CDATA[\delta=0]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>δ</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
    The dashed reference marks <inline-formula><alternatives>
    <tex-math><![CDATA[1/2]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
    ULP, while the labelled horizontal lines in the first two panels
    indicate the respective shortcut caps. Both axes are logarithmically
    scaled. Results were obtained on the A100 GPU using the setup
    described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-gpu-boost-shortcut.pdf" />
  </fig>
  <fig id="figU003Aapp-05">
    <caption><p>Effect of the workspace allocation on the runtime of the
    library backends as a function of the batch length
    <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    for the random data
    (Section <xref alt="4.3" rid="secU003Adatasets">4.3</xref>). The
    left panel shows the cost per element for increasing
    <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>.
    For AVX2 and AVX-512, solid lines include the allocation of a new
    workspace and dotted lines reuse an existing one; the other backends
    use no workspace. The right panel shows the workspace-allocation
    time as a percentage of the total runtime of a first call. The
    horizontal dashed line marks <inline-formula><alternatives>
    <tex-math><![CDATA[1\%]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1</mml:mn><mml:mi>%</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
    and circles indicate the first <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    for which the allocation share falls below this threshold. Results
    were obtained on the AMD CPU using the setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-workspace-size_random_large-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-06">
    <caption><p>CPU evaluation cost as a function of batch length
    <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    for the random size ladder. The random ladder samples the parameter
    regions according to
    Table <xref alt="B5" rid="tabU003Aapp-ladder">B5</xref>. The
    ordinate reports nanoseconds per covariance evaluation and the
    abscissa the batch length <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>,
    timed as described in
    Section <xref alt="4.3" rid="secU003Adatasets">4.3</xref>; both axes
    are logarithmic. The scalar backend (not shown, 116 to 168 ns) lies
    between or close to the two Bessels.jl curves, and Boost (893 to
    952 ns) lies above the plotted range; their costs at
    <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^{25}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
    are given in Table <xref alt="3" rid="tabU003Acpu-time">3</xref>.
    SIMD batch grouping and permutation are included in the timed calls.
    Results were obtained on the AMD CPU described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-ladder-size_random_large-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-07">
    <caption><p>Effect of GPU transfer strategy on runtime as a function
    of the set size <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>.
    The panel shows the cost per element for the tested transfer
    strategies as <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    increases, together with the AVX-512 CPU implementation on the same
    node for reference. The dashed vertical line marks the approximate
    set size at which the GPU becomes faster than the AVX-512
    implementation on the same node. Results were obtained on the A100
    GPU using the setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-gpu-modes-size_random_large-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-10">
    <caption><p>Positive effect of Levin routing on the accuracy and
    runtime of the AVX-512 implementation. The panels show results when
    <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    are supplied: the median ULP error (top left), the worst-case ULP
    error (top right) and the runtime cost per element (bottom left) for
    the benchmark datasets on which Levin routing can affect the result.
    Circles denote results with Levin routing and squares results
    without it. The annotated factors, which give the ratio of the value
    without Levin routing to that with Levin routing, are all close to
    or above 1. Measurements were obtained on the AMD CPU using the
    setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-levin-cpu-avx512-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-11">
    <caption><p>Negative effect of Levin routing on the accuracy and
    runtime of the CUDA implementation. The panels show results when
    <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    are supplied: the median ULP error (top left), the worst-case ULP
    error (top right) and the runtime cost per element (bottom left) for
    the benchmark datasets on which Levin routing can affect the result.
    Circles denote results with Levin routing and squares results
    without it. The annotated factors, which give the ratio of the value
    without Levin routing to that with Levin routing, are all close to
    or below 1. Measurements were obtained on the A100 GPU using the
    setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-levin-cuda-async-direct-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-12">
    <caption><p>Dependence of the maximum ULP error on the
    covariance-assembly strategy for the CPU implementations. The four
    panels correspond to selected <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    test sets using a logarithmic ULP scale. For each external
    implementation, the bars represent direct multiplication in
    Equation <xref alt="(1)" rid="eqU003Amatern">(1)</xref>, log-domain
    assembly in
    Equation <xref alt="(36)" rid="eqU003Abaseline-log">(36)</xref>, and
    the scaled form in
    Equation <xref alt="(37)" rid="eqU003Abaseline-scaled">(37)</xref>.
    The scaled assembly in
    Equation <xref alt="(37)" rid="eqU003Abaseline-scaled">(37)</xref>
    is shown only for <monospace>Bessels.jl</monospace> and GSL, which
    are the only implementations that provide the exponentially scaled
    function <inline-formula><alternatives>
    <tex-math><![CDATA[\exp(z)K_{\nu}(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>.
    The dashed vermillion line reports the error of the folded
    <monospace>libmatern</monospace> implementation and a square marks
    an assembly that returned non-finite values on some points.
    Measurements use the AMD CPU in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-assembly-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-13">
    <caption><p>Dependence of the maximum ULP error on the
    covariance-assembly strategy for the CUDA baseline implementations
    on the NVIDIA A100. The panels correspond to four selected
    <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets using a logarithmic ULP scale. Bars distinguish direct
    evaluation according to
    Equation <xref alt="(1)" rid="eqU003Amatern">(1)</xref> from
    log-domain assembly according to
    Equation <xref alt="(36)" rid="eqU003Abaseline-log">(36)</xref>,
    while the dashed vermillion line reports the error of
    <monospace>libmatern-cuda</monospace>. A square marks an assembly
    that returned non-finite values on some points. Unlike the CPU
    comparison in Figure <xref alt="A8" rid="figU003Aapp-12">A8</xref>,
    only the direct and logarithmic assemblies are evaluated here, for
    every baseline, since none of the tested CUDA implementations
    provides the exponentially scaled function
    <inline-formula><alternatives>
    <tex-math><![CDATA[e^zK_\nu(z)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mi>e</mml:mi><mml:mi>z</mml:mi></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>ν</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>.
    Furthermore, GSL and <monospace>Bessels.jl</monospace> are only
    available on the CPU, so these two libraries do not appear in this
    figure. The experimental environment is listed in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-gpu-assembly-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-14">
    <caption><p>Overview of runtime and accuracy for the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets. Each panel compares the implementations by runtime,
    measured in nanoseconds per element, and accuracy, measured by the
    median and maximum ULP distance. Each implementation is a marker at
    its median, connected by a vertical line to its maximum; for
    example, in the grid panel, the AVX-512 implementation (vermillion
    circle) has a median of <inline-formula><alternatives>
    <tex-math><![CDATA[1.10]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>1.10</mml:mn></mml:math></alternatives></inline-formula>
    and a maximum of <inline-formula><alternatives>
    <tex-math><![CDATA[12.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>12.5</mml:mn></mml:math></alternatives></inline-formula> ULP
    at <inline-formula><alternatives>
    <tex-math><![CDATA[20.1]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>20.1</mml:mn></mml:math></alternatives></inline-formula> ns
    per element. Both axes use a logarithmic scale. For implementations
    producing non-finite results, the median is boxed and the counts are
    as given by Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>.
    Medians and maxima above <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    are drawn in the hatched band. The <monospace>kaust-40</monospace>
    port is not drawn: its maximum error exceeds
    <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    on every dataset. Results were obtained on the AMD CPU using the
    setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-cost-accuracy-z_nu-call.pdf" />
  </fig>
  <fig id="figU003Aapp-15">
    <caption><p>Overview of runtime and accuracy for the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets. Cf. Figure <xref alt="A10" rid="figU003Aapp-14">A10</xref>
    for the <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    interface and Section
    <xref alt="5.2" rid="secU003Aaccuracy">5.2</xref>. Each panel
    compares the implementations by runtime, measured in nanoseconds per
    element, and accuracy, measured by the median and maximum ULP
    distance. Both axes use a logarithmic scale. For implementations
    producing non-finite results, the median is boxed and the counts are
    as given by Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>.
    Medians and maxima above <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    are drawn in the hatched band. The <monospace>kaust-40</monospace>
    port is not drawn: its maximum error exceeds
    <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    on every dataset. Results were obtained on the AMD CPU using the
    setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-cost-accuracy-h_nu_s-call.pdf" />
  </fig>
  <fig id="figU003Aapp-16">
    <caption><p>Distribution of ULP errors for the tested
    implementations across the <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets. Each panel shows the ULP-distance distribution for one
    dataset on a logarithmic scale; the median, interquartile range,
    whiskers, outlier reach, and maximum are identified in the legend.
    An outlined square around the median indicates that the
    implementation produced non-finite results for some inputs as given
    by Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>; these
    values are excluded from the ULP summary statistics. Values
    exceeding the upper plotting limit of <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    ULP are indicated in the hatched region. The
    <monospace>kaust-40</monospace> port is not drawn: its maximum error
    exceeds <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    on every dataset. Results were obtained on the AMD CPU using the
    setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-accuracy-distribution-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-17">
    <caption><p>Distribution of ULP errors for the tested
    implementations across the <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets. Cf. Figure <xref alt="A12" rid="figU003Aapp-16">A12</xref>
    for the <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    interface and Section
    <xref alt="5.2" rid="secU003Aaccuracy">5.2</xref>. Each panel shows
    the ULP-distance distribution for one dataset on a logarithmic
    scale; the median, interquartile range, whiskers, outlier reach, and
    maximum are identified in the legend. An outlined square around the
    median indicates that the implementation produced non-finite results
    for some inputs as given by
    Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>; these values
    are excluded from the ULP summary statistics. Values exceeding the
    upper plotting limit of <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
    ULP are indicated in the hatched region. The
    <monospace>kaust-40</monospace> port is not drawn: its maximum error
    exceeds <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    on every dataset. Results were obtained on the AMD CPU using the
    setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-accuracy-distribution-h_nu_s.pdf" />
  </fig>
  <fig id="figU003Aapp-18">
    <caption><p>Thread-scaling behaviour of the tested implementations.
    The top row shows, from left to right, the speedup relative to one
    thread and the parallel efficiency, while the bottom left
    illustrates the throughput in covariance values per second as the
    number of threads increases. The grey dashed line indicates ideal
    scaling; solid lines denote library backends and dashed lines
    external implementations. The scalar and matched+FMA backends (not
    shown) scale like the drawn implementations, with speedups of 61.7
    and 59.4 at 64 threads, and their throughput lies between those of
    the matched and AVX2 backends. Results were obtained on the Intel
    CPU using the setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-threads-z_nu-intel.pdf" />
  </fig>
  <fig id="figU003Aapp-20">
    <caption><p>Runtime scaling with the set size
    <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
    for the fixed order <inline-formula><alternatives>
    <tex-math><![CDATA[\nu=2.5]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mn>2.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
    The plot compares the drawn implementations by runtime cost,
    measured in nanoseconds per element, as a function of
    <inline-formula><alternatives>
    <tex-math><![CDATA[N]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>.
    The scalar backend (not shown, 5.9 to 6.5 ns) lies slightly below
    the matched+FMA curve, and Boost (517 to 538 ns) lies above the
    plotted range; their costs at <inline-formula><alternatives>
    <tex-math><![CDATA[N=2^{25}]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
    are given in Table <xref alt="3" rid="tabU003Acpu-time">3</xref>.
    Results were obtained on the AMD CPU using the setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-ladder-size_half_large-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-22">
    <caption><p>Overview of GPU kernel cost and accuracy for the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets. Each panel compares the tested implementations by kernel
    cost, measured in nanoseconds per element, and accuracy, summarised
    by the median and maximum ULP distance. The panels are read as in
    Figure <xref alt="A10" rid="figU003Aapp-14">A10</xref>. Both axes
    are logarithmically scaled. Non-finite points are excluded from the
    ULP summary statistics, cf.
    Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>. Medians and
    maxima above <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    are drawn in the hatched band. Results were obtained on the A100 GPU
    using the setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-gpu-plane-z_nu.pdf" />
  </fig>
  <fig id="figU003Aapp-23">
    <caption><p>Overview of GPU kernel cost and accuracy for the
    <inline-formula><alternatives>
    <tex-math><![CDATA[(h,\nu,s)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    datasets. Cf. Figure <xref alt="A16" rid="figU003Aapp-22">A16</xref>
    for the <inline-formula><alternatives>
    <tex-math><![CDATA[(z,\nu)]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
    interface and Section
    <xref alt="5.2" rid="secU003Aaccuracy">5.2</xref>. Each panel
    compares the tested implementations by kernel cost, measured in
    nanoseconds per element, and accuracy, summarised by the median and
    maximum ULP distance. Both axes are logarithmically scaled.
    Non-finite points are excluded from the ULP summary statistics, cf.
    Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>. Medians and
    maxima above <inline-formula><alternatives>
    <tex-math><![CDATA[10^6]]></tex-math>
    <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula> ULP
    are drawn in the hatched band. Results were obtained on the A100 GPU
    using the setup described in
    Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>.</p></caption>
    <graphic mimetype="application" mime-subtype="pdf" xlink:href="Figures/fig-paper-gpu-plane-h_nu_s.pdf" />
  </fig>
  </sec>
<sec id="appU003Atables">
  <title><named-content content-type="header-section-number">B</named-content>
  Additional tables</title>
  <table-wrap>
    <caption>
      <p>Truncation limits of the series, transformations and iterations
      used by the numerical methods. Each limit is the largest number of
      terms, coefficients or steps evaluated; the
      large-<inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      series, the Temme series and both continued-fraction loops can
      stop earlier by the conditions in
      Table <xref alt="B2" rid="tabU003Aapp-exit">B2</xref>.</p>
    </caption>
    <table id="tabU003Aapp-trunc">
      <thead>
        <tr>
          <th align="left">Method</th>
          <th align="left">Equation</th>
          <th align="left">Truncated expansion</th>
          <th align="left">Maximum used</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">Large-<inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
          series</td>
          <td align="left"><xref alt="(34)" rid="eqU003Alarge-z">(34)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[\sum_k t_k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>t</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">50 terms</td>
        </tr>
        <tr>
          <td align="left">Levin–Weniger transform</td>
          <td align="left"><xref alt="(16)" rid="eqU003Alevin">(16)</xref></td>
          <td align="left">order <inline-formula><alternatives>
          <tex-math><![CDATA[k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[k=14]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>14</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
          (<inline-formula><alternatives>
          <tex-math><![CDATA[s_0,\dots,s_{14}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>14</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>)</td>
        </tr>
        <tr>
          <td align="left">Large-<inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
          series</td>
          <td align="left"><xref alt="(24)" rid="eqU003Adebye">(24)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[\sum_k (-1)^kU_k(p)/\nu^k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>−</mml:mi><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>k</mml:mi></mml:msup><mml:msub><mml:mi>U</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mi>/</mml:mi><mml:msup><mml:mi>ν</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">11 terms</td>
        </tr>
        <tr>
          <td align="left">Stirling series of
          <inline-formula><alternatives>
          <tex-math><![CDATA[\log\Gamma(\nu)]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">log</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left"><xref alt="(23)" rid="eqU003Adebye-sterling">(23)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[\frac1{12\nu}-\frac1{360\nu^3}+\cdots]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>12</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:mfrac><mml:mo>−</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>360</mml:mn><mml:msup><mml:mi>ν</mml:mi><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mi>⋯</mml:mi></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">4 terms</td>
        </tr>
        <tr>
          <td align="left">Temme series</td>
          <td align="left"><xref alt="(7)" rid="eqU003Atemme-series">(7)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[\sum_k c_kf_k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
          and <inline-formula><alternatives>
          <tex-math><![CDATA[\sum_k c_kh_k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>h</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">20 terms</td>
        </tr>
        <tr>
          <td align="left">Series for <inline-formula><alternatives>
          <tex-math><![CDATA[\gamma_1]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>γ</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:math></alternatives></inline-formula>,
          <inline-formula><alternatives>
          <tex-math><![CDATA[\gamma_2]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>γ</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:math></alternatives></inline-formula></td>
          <td align="left"><xref alt="(9)" rid="eqU003Atemme_taylor">(9)</xref></td>
          <td align="left">power series in
          <inline-formula><alternatives>
          <tex-math><![CDATA[\alpha^2]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mi>α</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></alternatives></inline-formula></td>
          <td align="left">11 terms each</td>
        </tr>
        <tr>
          <td align="left">Continued fraction,
          <inline-formula><alternatives>
          <tex-math><![CDATA[I_\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
          series</td>
          <td align="left"><xref alt="(3)" rid="eqU003Abessel-I">(3)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[\sum_m a_m]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>m</mml:mi></mml:msub><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>,<inline-formula><alternatives>
          <tex-math><![CDATA[\sum_m b_m]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>m</mml:mi></mml:msub><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">50 terms</td>
        </tr>
        <tr>
          <td align="left">Continued fraction, modified Lentz</td>
          <td align="left"><xref alt="(12)" rid="eqU003Aratio-cf">(12)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[\mathop{\mathrm K}_{m=1}^{k}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msubsup><mml:mrow><mml:mi mathvariant="normal">K</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:msubsup></mml:math></alternatives></inline-formula></td>
          <td align="left">50 steps</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Early exit conditions for the different implementations. Here
      <inline-formula><alternatives>
      <tex-math><![CDATA[\epsilon=2^{-52}]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ϵ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>52</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.
      In the scalar and CUDA implementations each loop ends at the first
      <inline-formula><alternatives>
      <tex-math><![CDATA[k]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>
      that satisfies its condition, or at the limit in
      Table <xref alt="B1" rid="tabU003Aapp-trunc">B1</xref>; in the
      SIMD implementations the large-<inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      condition is tested after every eighth term, and a loop ends when
      the condition has held in all lanes of a vector (for the continued
      fraction, of four vectors), each lane being frozen at the first
      <inline-formula><alternatives>
      <tex-math><![CDATA[k]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>
      that satisfies its condition.</p>
    </caption>
    <table id="tabU003Aapp-exit">
      <thead>
        <tr>
          <th align="left">Loop</th>
          <th align="left">Term</th>
          <th align="left">Partial sum or approximant</th>
          <th align="left">Exit condition</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">Large-<inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
          series</td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[t_k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>t</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:math></alternatives></inline-formula>,
          <xref alt="(15)" rid="eqU003Alarge-z-terms">(15)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[s_k=\sum_{j=0}^{k}t_j]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:msubsup><mml:msub><mml:mi>t</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[|t_k|\le\epsilon\,|s_k|]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo>≤</mml:mo><mml:mi>ϵ</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="left">Continued fraction,
          <inline-formula><alternatives>
          <tex-math><![CDATA[I_\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>I</mml:mi><mml:mi>ν</mml:mi></mml:msub></mml:math></alternatives></inline-formula>
          series</td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[a_m]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:math></alternatives></inline-formula>,
          <xref alt="(27)" rid="eqU003Acf-terms">(27)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[B_m=\sum_{j=0}^{m}a_j]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>B</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:msubsup><mml:msub><mml:mi>a</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[|a_m|\le\epsilon\,|B_m|]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo>≤</mml:mo><mml:mi>ϵ</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="left">Continued fraction, modified Lentz</td>
          <td align="left">step <inline-formula><alternatives>
          <tex-math><![CDATA[k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>k</mml:mi></mml:math></alternatives></inline-formula>
          of <xref alt="(12)" rid="eqU003Aratio-cf">(12)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[L_k=\mathop{\mathrm K}_{m=1}^{k}\frac{\nu^2-(2m-1)^2/4}{2(z+m)}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="normal">K</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:msubsup><mml:mfrac><mml:mrow><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>−</mml:mo><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mn>2</mml:mn><mml:mi>m</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>4</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>+</mml:mo><mml:mi>m</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[|L_k/L_{k-1}-1|\le\epsilon]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mi>/</mml:mi><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo>≤</mml:mo><mml:mi>ϵ</mml:mi></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="left">Temme series</td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[c_kf_k]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>,
          <xref alt="(7)" rid="eqU003Atemme-series">(7)</xref></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[V_k=\sum_{j=0}^{k}c_jf_j]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>k</mml:mi></mml:msubsup><mml:msub><mml:mi>c</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left"><inline-formula><alternatives>
          <tex-math><![CDATA[|c_kf_k|<\epsilon\,|V_k|]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:mo>&lt;</mml:mo><mml:mi>ϵ</mml:mi><mml:mspace width="0.167em"></mml:mspace><mml:mo stretchy="false" form="prefix">|</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false" form="prefix">|</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Per-point branching of the normalised Matérn covariance in the
      scalar, SIMD and CUDA versions. Shaded cells mark where the
      versions differ. All versions apply row 1 to every point; they
      differ in how often they calculate the constants of
      Equation <xref alt="(33)" rid="eqU003Ahalf">(33)</xref>, the
      coefficients <inline-formula><alternatives>
      <tex-math><![CDATA[c_0,\dots,c_p]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>.
      The scalar version calculates them once for each sequence of
      consecutive points with equal <inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>.
      The SIMD version scans the batch from its start and calculates
      them once per order <inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
      for each sequence of at least 256 consecutive points with equal
      <inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
      or with half-integer <inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
      or reaching the end of the batch; after the first shorter sequence
      the remaining points pass through rows 1–9, which compute them
      once per order in each tile of the routing. At vector width 1 the
      SIMD version keeps the constants of the last order. CUDA stores
      the coefficients for all orders in constant memory. Truncation
      limits and early exit conditions are given by
      Table <xref alt="B1" rid="tabU003Aapp-trunc">B1</xref> and
      Table <xref alt="B2" rid="tabU003Aapp-exit">B2</xref>,
      respectively.</p>
    </caption>
    <table id="tabU003Abranching">
      <thead>
        <tr>
          <th align="right"></th>
          <th align="left">The sequence of branches (per point,
          <inline-formula><alternatives>
          <tex-math><![CDATA[z=\sqrt{2\nu}\,h/s]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>ν</mml:mi></mml:mrow></mml:msqrt><mml:mspace width="0.167em"></mml:mspace><mml:mi>h</mml:mi><mml:mi>/</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>)</th>
          <th align="left">scalar</th>
          <th align="left">SIMD</th>
          <th align="left">CUDA</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="right">1</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu=p+\tfrac12,\ p\le p_{\max}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mspace width="0.222em"></mml:mspace><mml:mi>p</mml:mi><mml:mo>≤</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
          <monospace>return</monospace> Half-integer, Eq.
          <xref alt="(33)" rid="eqU003Ahalf">(33)</xref></td>
          <td align="left">
          <inline-formula><alternatives>
          <tex-math><![CDATA[p_{\max}=40]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>40</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">
          <inline-formula><alternatives>
          <tex-math><![CDATA[p_{\max}=29]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>29</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">
          <inline-formula><alternatives>
          <tex-math><![CDATA[p_{\max}=29]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>29</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="right">2</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[z>z_{\max}=708.396]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>708.396</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="center" colspan="3"><styled-content style="color: black!50">same</styled-content></td>
        </tr>
        <tr>
          <td align="right">3</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu<30]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>30</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
          <monospace>return</monospace> folded Large
          <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
          Eq. <xref alt="(34)" rid="eqU003Alarge-z">(34)</xref></td>
          <td align="left"></td>
          <td align="left"></td>
          <td align="left"></td>
        </tr>
        <tr>
          <td align="right">4</td>
          <td align="left"><monospace>else return</monospace> Large
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
          Eq. <xref alt="(24)" rid="eqU003Adebye">(24)</xref></td>
          <td align="center" colspan="3"><styled-content style="color: black!50">same</styled-content></td>
        </tr>
        <tr>
          <td align="right">5</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu\le 30\land z>\min(\nu^2/36+18,\,22)]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≤</mml:mo><mml:mn>30</mml:mn><mml:mo>∧</mml:mo><mml:mi>z</mml:mi><mml:mo>&gt;</mml:mo><mml:mrow><mml:mi mathvariant="normal">min</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:msup><mml:mi>ν</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>36</mml:mn><mml:mo>+</mml:mo><mml:mn>18</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.167em"></mml:mspace><mml:mn>22</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
          <monospace>return</monospace> Large
          <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
          Eq.
          <xref alt="(14)" rid="eqU003Abessel-large-z">(14)</xref></td>
          <td align="center" colspan="3"><styled-content style="color: black!50">same</styled-content></td>
        </tr>
        <tr>
          <td align="right">6</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[z<1\land\nu\le\nu_S]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn><mml:mo>∧</mml:mo><mml:mi>ν</mml:mi><mml:mo>≤</mml:mo><mml:msub><mml:mi>ν</mml:mi><mml:mi>S</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>
          <monospace>return</monospace> Temme, Eq.
          <xref alt="(29)" rid="eqU003ATdef">(29)</xref></td>
          <td align="left">
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu_S=30]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>ν</mml:mi><mml:mi>S</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>30</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu_S=26]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>ν</mml:mi><mml:mi>S</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>26</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="left">
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu_S=26]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msub><mml:mi>ν</mml:mi><mml:mi>S</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>26</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="right">7</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[z<1\lor\nu\ge 30]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn><mml:mo>∨</mml:mo><mml:mi>ν</mml:mi><mml:mo>≥</mml:mo><mml:mn>30</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
          <monospace>return</monospace> Large
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>,
          Eq. <xref alt="(24)" rid="eqU003Adebye">(24)</xref></td>
          <td align="center" colspan="3"><styled-content style="color: black!50">same</styled-content></td>
        </tr>
        <tr>
          <td align="right">8</td>
          <td align="left"><monospace>if</monospace>
          <inline-formula><alternatives>
          <tex-math><![CDATA[\nu\le 15\land z>\nu^4/2401+1.5]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≤</mml:mo><mml:mn>15</mml:mn><mml:mo>∧</mml:mo><mml:mi>z</mml:mi><mml:mo>&gt;</mml:mo><mml:msup><mml:mi>ν</mml:mi><mml:mn>4</mml:mn></mml:msup><mml:mi>/</mml:mi><mml:mn>2401</mml:mn><mml:mo>+</mml:mo><mml:mn>1.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
          <monospace>return</monospace> Levin, Eq.
          <xref alt="(18)" rid="eqU003Alevin-final">(18)</xref></td>
          <td align="left">off</td>
          <td align="left">on</td>
          <td align="left">off</td>
        </tr>
        <tr>
          <td align="right">9</td>
          <td align="left"><monospace>return</monospace> Fractions, Eq.
          <xref alt="(28)" rid="eqU003Afolded-cf">(28)</xref></td>
          <td align="center" colspan="3"><styled-content style="color: black!50">same</styled-content></td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Numbers of high-precision reference covariances whose correctly
      rounded <monospace>binary64</monospace> values are zero or
      subnormal for the large-argument, large-order and router-seam
      datasets. A reference is subnormal for
      <inline-formula><alternatives>
      <tex-math><![CDATA[2^{-1075}<M<2^{-1022}]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>1075</mml:mn></mml:mrow></mml:msup><mml:mo>&lt;</mml:mo><mml:mi>M</mml:mi><mml:mo>&lt;</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>1022</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>,
      a band of width <inline-formula><alternatives>
      <tex-math><![CDATA[53\ln2\approx36.7]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>53</mml:mn><mml:mrow><mml:mi mathvariant="normal">ln</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>≈</mml:mo><mml:mn>36.7</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
      in <inline-formula><alternatives>
      <tex-math><![CDATA[\ln M]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">ln</mml:mi><mml:mo>&#8289;</mml:mo></mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>,
      and zero only for <inline-formula><alternatives>
      <tex-math><![CDATA[M\le2^{-1075}]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>≤</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>1075</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>;
      the ratio of the two counts therefore reflects how far a dataset
      extends beyond the underflow threshold rather than how rare each
      case is. The large-<inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      set ends at <inline-formula><alternatives>
      <tex-math><![CDATA[z=800]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>800</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
      so exact zeros occur only for <inline-formula><alternatives>
      <tex-math><![CDATA[\nu\lesssim12]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≲</mml:mo><mml:mn>12</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
      whereas subnormal references occur up to
      <inline-formula><alternatives>
      <tex-math><![CDATA[\nu\approx23.5]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>≈</mml:mo><mml:mn>23.5</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>.
      The large-<inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
      set reaches <inline-formula><alternatives>
      <tex-math><![CDATA[z\approx9{,}600]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>≈</mml:mo><mml:mn>9</mml:mn><mml:mo>,</mml:mo><mml:mn>600</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
      far beyond the threshold, so exact zeros dominate. All subnormal
      router-seam references lie on the exponential-range border
      <inline-formula><alternatives>
      <tex-math><![CDATA[z=708.396]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>708.396</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
      with <inline-formula><alternatives>
      <tex-math><![CDATA[\nu<1/2]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>ν</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn><mml:mi>/</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>,
      where <inline-formula><alternatives>
      <tex-math><![CDATA[M]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula>
      falls just below <inline-formula><alternatives>
      <tex-math><![CDATA[2^{-1022}]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>1022</mml:mn></mml:mrow></mml:msup></mml:math></alternatives></inline-formula>;
      the seam shifts of at most 4096 ULP of the argument, i.e. at most
      <inline-formula><alternatives>
      <tex-math><![CDATA[5\cdot10^{-10}]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>5</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>10</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>
      in <inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>,
      are far smaller than the increase of about 37 in
      <inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      needed to reach the zero range. The categories are mutually
      exclusive and refer to reference values rather than evaluated
      algorithm outputs. No such reference values were recorded for the
      other primary benchmark sets. The ULP metric is defined in
      Equation <xref alt="(35)" rid="eqU003Aulp">(35)</xref>.</p>
    </caption>
    <table id="tabU003Aapp-sub">
      <thead>
        <tr>
          <th align="left">Dataset</th>
          <th align="right">Reference exactly zero</th>
          <th align="right">Subnormal reference</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">Large <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">432</td>
          <td align="right">901</td>
        </tr>
        <tr>
          <td align="left">Large <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">6,483</td>
          <td align="right">257</td>
        </tr>
        <tr>
          <td align="left">Router seams</td>
          <td align="right">0</td>
          <td align="right">5,875</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Probability mixture used to generate the random size ladder.
      The order <inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
      and the argument <inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      are sampled independently. For each axis, the distribution
      component in the middle column is chosen using the probability
      given in the final column, followed by sampling within the
      specified interval. The mixture increases coverage of the
      numerical routing regions; it was not fitted to observed spatial
      covariance parameters.</p>
    </caption>
    <table id="tabU003Aapp-ladder">
      <thead>
        <tr>
          <th align="center">Axis</th>
          <th align="left">Distribution component</th>
          <th align="right">Weight</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="center"><inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left">Log-uniform <inline-formula><alternatives>
          <tex-math><![CDATA[[10^{-10},15)]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>10</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mn>15</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">0.50</td>
        </tr>
        <tr>
          <td align="center"><inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left">Uniform <inline-formula><alternatives>
          <tex-math><![CDATA[[15,30)]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>15</mml:mn><mml:mo>,</mml:mo><mml:mn>30</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">0.30</td>
        </tr>
        <tr>
          <td align="center"><inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left">Uniform <inline-formula><alternatives>
          <tex-math><![CDATA[[30,40]]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>30</mml:mn><mml:mo>,</mml:mo><mml:mn>40</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">0.20</td>
        </tr>
        <tr>
          <td align="center"><inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left">Log-uniform <inline-formula><alternatives>
          <tex-math><![CDATA[[10^{-10},1)]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mi>−</mml:mi><mml:mn>10</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">0.25</td>
        </tr>
        <tr>
          <td align="center"><inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left">Log-uniform <inline-formula><alternatives>
          <tex-math><![CDATA[[1,22)]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>22</mml:mn><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">0.50</td>
        </tr>
        <tr>
          <td align="center"><inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="left">Log-uniform <inline-formula><alternatives>
          <tex-math><![CDATA[[22,40]]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">[</mml:mo><mml:mn>22</mml:mn><mml:mo>,</mml:mo><mml:mn>40</mml:mn><mml:mo stretchy="false" form="postfix">]</mml:mo></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">0.25</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Counts of non-finite outputs returned by the listed CPU and
      CUDA benchmark implementations. Only sampling schemes with
      non-zero failure counts for at least one implementation are
      displayed, namely small <inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      (<inline-formula><alternatives>
      <tex-math><![CDATA[N=100{,}000]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>100</mml:mn><mml:mo>,</mml:mo><mml:mn>000</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>),
      large <inline-formula><alternatives>
      <tex-math><![CDATA[z]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula>
      (<inline-formula><alternatives>
      <tex-math><![CDATA[N=100{,}000]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>100</mml:mn><mml:mo>,</mml:mo><mml:mn>000</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>)
      and large <inline-formula><alternatives>
      <tex-math><![CDATA[\nu]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula>
      (<inline-formula><alternatives>
      <tex-math><![CDATA[N=150{,}000]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>150</mml:mn><mml:mo>,</mml:mo><mml:mn>000</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>).
      Non-finite results do not contribute to the conditional ULP
      statistics in
      Table <xref alt="B8" rid="tabU003AappU003Aerr_medmax_h">B8</xref>
      and
      Table <xref alt="B9" rid="tabU003AappU003Aerr_medmax_h_gpu">B9</xref>.</p>
    </caption>
    <table id="tabU003Aapp-fails">
      <thead>
        <tr>
          <th align="left">Implementation</th>
          <th align="right">Small <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left" colspan="4">CPU implementations</td>
        </tr>
        <tr>
          <td align="left"><monospace>libmatern</monospace> AVX-512</td>
          <td align="right">0</td>
          <td align="right">0</td>
          <td align="right">0</td>
        </tr>
        <tr>
          <td align="left"><monospace>bessels.jl</monospace></td>
          <td align="right">11,913</td>
          <td align="right">0</td>
          <td align="right">48,712</td>
        </tr>
        <tr>
          <td align="left"><monospace>bessels.jl-old</monospace></td>
          <td align="right">11,973</td>
          <td align="right">0</td>
          <td align="right">48,712</td>
        </tr>
        <tr>
          <td align="left">Boost 1.75.0</td>
          <td align="right">11,856</td>
          <td align="right">0</td>
          <td align="right">47,474</td>
        </tr>
        <tr>
          <td align="left">GSL 2.6</td>
          <td align="right">0</td>
          <td align="right">0</td>
          <td align="right">0</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">0</td>
          <td align="right">21,076</td>
          <td align="right">86,860</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right">0</td>
          <td align="right">21,076</td>
          <td align="right">86,860</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">0</td>
          <td align="right">0</td>
          <td align="right">0</td>
        </tr>
        <tr>
          <td align="left"><monospace>std::cyl_bessel_k</monospace></td>
          <td align="right">11,856</td>
          <td align="right">0</td>
          <td align="right">47,474</td>
        </tr>
        <tr>
          <td align="left" colspan="4">GPU
          implementations</td>
        </tr>
        <tr>
          <td align="left"><monospace>libmatern-cuda</monospace></td>
          <td align="right">0</td>
          <td align="right">0</td>
          <td align="right">0</td>
        </tr>
        <tr>
          <td align="left">Boost GPU</td>
          <td align="right">11,856</td>
          <td align="right">0</td>
          <td align="right">47,474</td>
        </tr>
        <tr>
          <td align="left">Boost GPU modified</td>
          <td align="right">11,856</td>
          <td align="right">0</td>
          <td align="right">47,474</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">0</td>
          <td align="right">21,076</td>
          <td align="right">86,860</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right">0</td>
          <td align="right">21,076</td>
          <td align="right">86,860</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">0</td>
          <td align="right">0</td>
          <td align="right">0</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Reported compute environments and timing configurations. </p>
    </caption>
    <table id="tabU003Aapp-hw">
      <thead>
        <tr>
          <th align="left">Aspect</th>
          <th align="left">CPU measurements</th>
          <th align="left">GPU measurements</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">Processors</td>
          <td align="left">AMD EPYC 9454 (also Intel Xeon Platinum 8358
          for comparison)</td>
          <td align="left">Intel Xeon Platinum 8358 host</td>
        </tr>
        <tr>
          <td align="left">GPU</td>
          <td align="left">—</td>
          <td align="left">NVIDIA A100 80 GB PCIe, sm_80</td>
        </tr>
        <tr>
          <td align="left">Library build</td>
          <td align="left">GCC 11.5.0 (RHEL
          <monospace>gcc-11.5.0-5.el9_5</monospace>);
          <monospace>-O2 -ffp-contract=fast -fno-math-errno</monospace>;
          per backend <monospace>-mavx512f -mavx512dq -mfma</monospace>
          (AVX-512), <monospace>-mavx2 -mfma</monospace> (AVX2),
          <monospace>-march=x86-64</monospace> (matched, with
          <monospace>-mfma</monospace> for matched+FMA)</td>
          <td align="left">nvcc 12.8.61;
          <monospace>-O2 -arch=sm_80</monospace>; default FMA
          contraction; host g++ 14.2.0</td>
        </tr>
        <tr>
          <td align="left">Baseline build</td>
          <td align="left"><monospace>-march=native -O2</monospace>
          (GCC’s default floating-point contraction); GCC 11.5.0 (C
          ports), g++ 14.2.0 (C++)</td>
          <td align="left">nvcc 12.8.61, as above</td>
        </tr>
        <tr>
          <td align="left">CUDA toolkit</td>
          <td align="left">—</td>
          <td align="left">CUDA 12.8.0; nvcc 12.8.61, cudart
          12.8.57</td>
        </tr>
        <tr>
          <td align="left">GPU driver/API</td>
          <td align="left">—</td>
          <td align="left">615.71.09 / 13.4</td>
        </tr>
        <tr>
          <td align="left">OS / libc</td>
          <td align="left">RHEL 9.6, kernel 5.14.0, glibc 2.34
          (<monospace>glibc-2.34-168.el9_6.25</monospace>)</td>
          <td align="left">glibc 2.34</td>
        </tr>
        <tr>
          <td align="left">Source</td>
          <td align="left"><monospace>libmatern</monospace> 0.9.5,
          commit <monospace>e370401</monospace></td>
          <td align="left"><monospace>libmatern</monospace> 0.9.5,
          commit <monospace>e370401</monospace></td>
        </tr>
        <tr>
          <td align="left">Examples of baselines</td>
          <td align="left">Boost 1.75.0, GSL 2.6</td>
          <td align="left">Boost GPU 1.87.0, CuBesselK ports</td>
        </tr>
        <tr>
          <td align="left">CPU threading</td>
          <td align="left">Single thread for primary throughput</td>
          <td align="left">Single thread for host-side work (except
          pinned-ring experiment)</td>
        </tr>
        <tr>
          <td align="left">Timing</td>
          <td align="left">2 warm-ups; 25 measured repetitions;
          invariant TSC</td>
          <td align="left">2 warm-ups; host-clock calls and CUDA-event
          kernels separately</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Median and maximum ULP distances for the CPU implementations
      across the eight <inline-formula><alternatives>
      <tex-math><![CDATA[(z,\nu)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      test sets, measured on the AMD host. Each cell reports
      median / maximum error with regard to the FLINT reference defined
      in Equation <xref alt="(35)" rid="eqU003Aulp">(35)</xref>; the
      eight datasets are divided into two blocks for legibility. “Cap”
      indicates that the reported maximum exceeds the
      <inline-formula><alternatives>
      <tex-math><![CDATA[10^6]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
      ULP plotting threshold. A dagger identifies a statistic
      conditioned on finite outputs; corresponding failure counts are
      given in Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>.
      The median factor is taken against the best external median over
      all implementations; the maximum factor against the best
      competitor without dagger and Cap, with the name of this best
      competitor given. A factor is the ratio of the external to the
      <monospace>libmatern</monospace> value, so values below 1 indicate
      that the external implementation is more accurate.</p>
    </caption>
    <table id="tabU003AappU003Aerr_medmax_h">
      <thead>
        <tr>
          <th align="left">Implementation</th>
          <th align="right">Grid</th>
          <th align="right">Random</th>
          <th align="right">Small <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Near-int <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left"><monospace>libmatern</monospace>
          (AVX-512)</td>
          <td align="right">1.10 / 12.5</td>
          <td align="right">1.02 / 21.8</td>
          <td align="right">0.483 / 10.4</td>
          <td align="right">0.864 / 17.7</td>
        </tr>
        <tr>
          <td align="left">
          <monospace>bessels.jl</monospace></td>
          <td align="right">22.0 / 6804</td>
          <td align="right">2.96 / 886</td>
          <td align="right">1.00 / 1740<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">5.09 / <inline-formula><alternatives>
          <tex-math><![CDATA[3.77\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>3.77</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="left"><monospace>bessels.jl-old</monospace></td>
          <td align="right">2.31 / 7209</td>
          <td align="right">22.4 / <inline-formula><alternatives>
          <tex-math><![CDATA[1.51\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.51</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">57.0 / 1740<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">24.2 / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>boost-1.75.0</monospace></td>
          <td align="right">0.740 / 6.18</td>
          <td align="right">0.773 / 6.43</td>
          <td align="right">0.947 / 6.72<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">0.893 / 6.22</td>
        </tr>
        <tr>
          <td align="left"><monospace>gsl-2.6</monospace></td>
          <td align="right">1.34 / 25.8</td>
          <td align="right">1.80 / 114</td>
          <td align="right">64.0 / 2283</td>
          <td align="right">2.35 / 749</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">30.5 / 3754</td>
          <td align="right">7.45 / Cap</td>
          <td align="right">5.94 / Cap</td>
          <td align="right">4.69 / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.15\times10^{13}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.15</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>13</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[4.26\times10^{10}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>4.26</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>10</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
          <td align="right">6.34 / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[1.05\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.05</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">17.1 / 315</td>
          <td align="right">8.53 / 277</td>
          <td align="right">64.0 / 2090</td>
          <td align="right">4.71 / 325</td>
        </tr>
        <tr>
          <td align="left"><monospace>std-cyl_bessel_k</monospace></td>
          <td align="right">1.39 / 3799</td>
          <td align="right">21.1 / 2647</td>
          <td align="right">4.28 / 131<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">5.08 / Cap</td>
        </tr>
        <tr>
          <td align="left">Lowest external</td>
          <td align="right"><monospace>boost</monospace></td>
          <td align="right"><monospace>boost</monospace></td>
          <td align="right"><monospace>boost</monospace>/
          <monospace>kaust-mod.</monospace></td>
          <td align="right"><monospace>boost</monospace></td>
        </tr>
        <tr>
          <td align="left">Factor</td>
          <td align="right">0.671/0.495</td>
          <td align="right">0.759/0.294</td>
          <td align="right">1.96/201</td>
          <td align="right">1.03/0.352</td>
        </tr>
        <tr>
          <td align="left">Implementation</td>
          <td align="right">Half-int <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">Seams</td>
        </tr>
        <tr>
          <td align="left"><monospace>libmatern</monospace>
          (AVX-512)</td>
          <td align="right">0.600 / 10.4</td>
          <td align="right">0.707 / 14.7</td>
          <td align="right">0.729 / 25.1</td>
          <td align="right">1.06 / 22.4</td>
        </tr>
        <tr>
          <td align="left">
          <monospace>bessels.jl</monospace></td>
          <td align="right">40.9 / 1413</td>
          <td align="right">125 / 1542</td>
          <td align="right">177 / <inline-formula><alternatives>
          <tex-math><![CDATA[1.81\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.81</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula><sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">2.49 / <inline-formula><alternatives>
          <tex-math><![CDATA[1.26\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.26</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
        </tr>
        <tr>
          <td align="left"><monospace>bessels.jl-old</monospace></td>
          <td align="right">44.6 / 1539</td>
          <td align="right">165 / 3020</td>
          <td align="right">186 / <inline-formula><alternatives>
          <tex-math><![CDATA[1.81\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.81</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula><sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">3.21 / 9218</td>
        </tr>
        <tr>
          <td align="left"><monospace>boost-1.75.0</monospace></td>
          <td align="right">1.01 / Cap</td>
          <td align="right">0.905 / Cap</td>
          <td align="right">160 / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">0.770 / 22.6</td>
        </tr>
        <tr>
          <td align="left"><monospace>gsl-2.6</monospace></td>
          <td align="right">38.3 / 1248</td>
          <td align="right">124 / 1447</td>
          <td align="right">392 / Cap</td>
          <td align="right">13.5 / 1060</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">7.71 / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.75\times10^{11}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.75</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>11</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">58.4 / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">6.15 / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.06\times10^{8}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.06</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>8</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.35\times10^{15}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.35</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>15</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[1.04\times10^{13}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.04</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>13</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[4.63\times10^{8}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>4.63</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>8</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">44.3 / 1398</td>
          <td align="right">167 / 2045</td>
          <td align="right">342 / <inline-formula><alternatives>
          <tex-math><![CDATA[2.59\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.59</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">5.61 / 974</td>
        </tr>
        <tr>
          <td align="left"><monospace>std-cyl_bessel_k</monospace></td>
          <td align="right">3.17 / Cap</td>
          <td align="right">2.13 / Cap</td>
          <td align="right">160 / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">2.53 / 2906</td>
        </tr>
        <tr>
          <td align="left">Lowest external</td>
          <td align="right"><monospace>boost</monospace>/
          <monospace>gsl</monospace></td>
          <td align="right"><monospace>boost</monospace>/
          <monospace>gsl</monospace></td>
          <td align="right"><monospace>kaust-128</monospace>/
          <monospace>kaust-mod.</monospace></td>
          <td align="right"><monospace>boost</monospace></td>
        </tr>
        <tr>
          <td align="left">Factor</td>
          <td align="right">1.68/120</td>
          <td align="right">1.28/98.7</td>
          <td align="right">80.1/1032</td>
          <td align="right">0.729/1.01</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Median and maximum ULP distances for the CUDA implementations
      on the NVIDIA A100 across the eight <inline-formula><alternatives>
      <tex-math><![CDATA[(z,\nu)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      benchmark sets. Cells report median / maximum distance. The
      notation “Cap” denotes a maximum above the
      <inline-formula><alternatives>
      <tex-math><![CDATA[10^6]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msup><mml:mn>10</mml:mn><mml:mn>6</mml:mn></mml:msup></mml:math></alternatives></inline-formula>
      ULP display range, and a dagger indicates that non-finite results
      were excluded from the reported conditional statistics.
      Finite-result coverage is given separately in
      Table <xref alt="B6" rid="tabU003Aapp-fails">B6</xref>. The median
      factor is taken against the best external median over all
      implementations; the maximum factor against the best competitor
      without dagger and Cap, with the name of this best competitor
      given.</p>
    </caption>
    <table id="tabU003AappU003Aerr_medmax_h_gpu">
      <thead>
        <tr>
          <th align="left">Kernel</th>
          <th align="right">Grid</th>
          <th align="right">Random</th>
          <th align="right">Small <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Near-int <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left"><monospace>libmatern-cuda</monospace></td>
          <td align="right">1.22 / 13.5</td>
          <td align="right">1.04 / 23.9</td>
          <td align="right">0.483 / 7.13</td>
          <td align="right">0.861 / 16.7</td>
        </tr>
        <tr>
          <td align="left">
          <monospace>boost</monospace></td>
          <td align="right">20.7 / <inline-formula><alternatives>
          <tex-math><![CDATA[4.48\times10^{5}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>4.48</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>5</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">19.2 / Cap</td>
          <td align="right">2.00 / 21.8<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">1.96 / 24.4</td>
        </tr>
        <tr>
          <td align="left"><monospace>boost-modified</monospace></td>
          <td align="right">1.29 / 21.6</td>
          <td align="right">1.67 / 29.7</td>
          <td align="right">2.00 / 21.8<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">1.96 / 24.4</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">26.0 / 3897</td>
          <td align="right">7.43 / Cap</td>
          <td align="right">5.83 / Cap</td>
          <td align="right">4.70 / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.15\times10^{13}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.15</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>13</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[4.26\times10^{10}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>4.26</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>10</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
          <td align="right">6.25 / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[1.05\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.05</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">17.2 / 260</td>
          <td align="right">8.47 / 277</td>
          <td align="right">59.8 / 2070</td>
          <td align="right">4.72 / 321</td>
        </tr>
        <tr>
          <td align="left">Lowest external</td>
          <td align="right"><monospace>boost-mod.</monospace></td>
          <td align="right"><monospace>boost-mod.</monospace></td>
          <td align="right"><monospace>boost</monospace>/
          <monospace>kaust-mod.</monospace></td>
          <td align="right"><monospace>boost</monospace></td>
        </tr>
        <tr>
          <td align="left">Factor</td>
          <td align="right">1.06/1.60</td>
          <td align="right">1.61/1.24</td>
          <td align="right">4.14/290</td>
          <td align="right">2.28/1.46</td>
        </tr>
        <tr>
          <td align="left">Kernel</td>
          <td align="right">Half-int <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">Seams</td>
        </tr>
        <tr>
          <td align="left">
          <monospace>libmatern-cuda</monospace></td>
          <td align="right">0.567 / 6.96</td>
          <td align="right">0.740 / 21.3</td>
          <td align="right">0.729 / 25.1</td>
          <td align="right">1.06 / 65.4</td>
        </tr>
        <tr>
          <td align="left">
          <monospace>boost</monospace></td>
          <td align="right">1.52 / Cap</td>
          <td align="right">1.55 / Cap</td>
          <td align="right">148 / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">1.66 / 1371</td>
        </tr>
        <tr>
          <td align="left"><monospace>boost-modified</monospace></td>
          <td align="right">1.52 / Cap</td>
          <td align="right">1.55 / Cap</td>
          <td align="right">148 / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">1.66 / 101</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">7.61 / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.75\times10^{11}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.75</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>11</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">58.2 / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right">6.03 / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.06\times10^{8}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.06</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>8</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[2.35\times10^{15}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2.35</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>15</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[1.04\times10^{13}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>1.04</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>13</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap<sup><inline-formula><alternatives>
          <tex-math><![CDATA[\dagger]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>†</mml:mi></mml:math></alternatives></inline-formula></sup></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[4.63\times10^{8}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>4.63</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>8</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula> / Cap</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">42.1 / 1327</td>
          <td align="right">158 / 1812</td>
          <td align="right">329 / <inline-formula><alternatives>
          <tex-math><![CDATA[3.19\times10^{4}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>3.19</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">5.55 / 994</td>
        </tr>
        <tr>
          <td align="left">Lowest external</td>
          <td align="right"><monospace>boost</monospace>/
          <monospace>kaust-mod.</monospace></td>
          <td align="right"><monospace>boost-mod.</monospace>/
          <monospace>kaust-mod.</monospace></td>
          <td align="right"><monospace>kaust-128</monospace>/
          <monospace>kaust-mod.</monospace></td>
          <td align="right"><monospace>boost-mod.</monospace></td>
        </tr>
        <tr>
          <td align="left">Factor</td>
          <td align="right">2.67/191</td>
          <td align="right">2.10/85.1</td>
          <td align="right">79.9/1268</td>
          <td align="right">1.57/1.54</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Kernel-only GPU evaluation time for the
      <inline-formula><alternatives>
      <tex-math><![CDATA[(z,\nu)]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>ν</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>
      input interface on the eight benchmark datasets. Each cell gives
      the measured nanoseconds per covariance value for the specified
      CUDA implementation; this timing excludes CPU staging and
      host–device transfers. The last row reports the runtime of the
      fastest external implementation on the same dataset divided by
      that of <monospace>libmatern-cuda</monospace>. Measurements were
      obtained with the NVIDIA A100 system described in
      Table <xref alt="B7" rid="tabU003Aapp-hw">B7</xref>; end-to-end
      costs are reported separately in
      Table <xref alt="4" rid="tabU003Agpu-time">4</xref>. Entries are
      medians over 25 repetitions; the last column gives the largest
      interquartile range over the eight datasets in per cent of the
      median. The speedup bounds of
      Section <xref alt="4.4" rid="secU003Atiming">4.4</xref> differ
      from the speedups by at most <inline-formula><alternatives>
      <tex-math><![CDATA[0.12]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>0.12</mml:mn></mml:math></alternatives></inline-formula>.</p>
    </caption>
    <table id="tabU003AappU003Agpu-cost-z-nu">
      <thead>
        <tr>
          <th align="left">Implementation</th>
          <th align="right">Grid</th>
          <th align="right">Random</th>
          <th align="right">Small <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Near-int <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Half-int <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[z]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>z</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Large <inline-formula><alternatives>
          <tex-math><![CDATA[\nu]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ν</mml:mi></mml:math></alternatives></inline-formula></th>
          <th align="right">Seams</th>
          <th align="right">max IQR (<inline-formula><alternatives>
          <tex-math><![CDATA[\%]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>%</mml:mi></mml:math></alternatives></inline-formula>)</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left"><monospace>libmatern-cuda</monospace></td>
          <td align="right">0.273</td>
          <td align="right">0.778</td>
          <td align="right">0.440</td>
          <td align="right">0.531</td>
          <td align="right">0.164</td>
          <td align="right">0.594</td>
          <td align="right">0.799</td>
          <td align="right">0.471</td>
          <td align="right">2.3</td>
        </tr>
        <tr>
          <td align="left">
          <monospace>boost</monospace></td>
          <td align="right">0.453</td>
          <td align="right">1.35</td>
          <td align="right">0.911</td>
          <td align="right">1.56</td>
          <td align="right">0.860</td>
          <td align="right">1.58</td>
          <td align="right">12.5</td>
          <td align="right">0.860</td>
          <td align="right">4.6</td>
        </tr>
        <tr>
          <td align="left"><monospace>boost-modified</monospace></td>
          <td align="right">0.602</td>
          <td align="right">1.52</td>
          <td align="right">0.963</td>
          <td align="right">1.35</td>
          <td align="right">0.840</td>
          <td align="right">1.50</td>
          <td align="right">13.7</td>
          <td align="right">0.881</td>
          <td align="right">1.4</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-128</monospace></td>
          <td align="right">7.54</td>
          <td align="right">7.95</td>
          <td align="right">8.83</td>
          <td align="right">8.22</td>
          <td align="right">8.41</td>
          <td align="right">8.16</td>
          <td align="right">10.8</td>
          <td align="right">8.17</td>
          <td align="right">1.1</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-40</monospace></td>
          <td align="right">2.47</td>
          <td align="right">2.65</td>
          <td align="right">3.47</td>
          <td align="right">2.84</td>
          <td align="right">2.93</td>
          <td align="right">2.69</td>
          <td align="right">5.43</td>
          <td align="right">2.76</td>
          <td align="right">1.5</td>
        </tr>
        <tr>
          <td align="left"><monospace>kaust-modified</monospace></td>
          <td align="right">11.3</td>
          <td align="right">18.8</td>
          <td align="right">17.4</td>
          <td align="right">13.8</td>
          <td align="right">19.1</td>
          <td align="right">18.8</td>
          <td align="right">22.8</td>
          <td align="right">12.5</td>
          <td align="right">1.2</td>
        </tr>
        <tr>
          <td align="left">Speedup vs. fastest
          external</td>
          <td align="right">1.66<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">1.73<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">2.07<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">2.54<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">5.12<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">2.52<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">6.79<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right">1.83<inline-formula><alternatives>
          <tex-math><![CDATA[\times]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>×</mml:mi></mml:math></alternatives></inline-formula></td>
          <td align="right"></td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>The second column gives the approximate minimal number of
      Matérn evaluations to calculate the full covariance matrix as a
      function of the image size <inline-formula><alternatives>
      <tex-math><![CDATA[M]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula>
      of an <inline-formula><alternatives>
      <tex-math><![CDATA[M \times M]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>×</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
      image for three different geostatistical setups. It also gives
      <inline-formula><alternatives>
      <tex-math><![CDATA[M]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula>
      for typical values of <inline-formula><alternatives>
      <tex-math><![CDATA[N]]></tex-math>
      <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>N</mml:mi></mml:math></alternatives></inline-formula>
      that are used in this paper.</p>
    </caption>
    <table id="tabU003Amagnitude">
      <thead>
        <tr>
          <th align="left">Setup</th>
          <th align="right">Evaluations</th>
          <th align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[N=2^{25}\approx3.4\cdot 10^7]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>25</mml:mn></mml:msup><mml:mo>≈</mml:mo><mml:mn>3.4</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>7</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></th>
          <th align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[N=2^{17}\approx1.3\cdot10^5]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>17</mml:mn></mml:msup><mml:mo>≈</mml:mo><mml:mn>1.3</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>5</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></th>
          <th align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[N=2^8=256]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mn>8</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn>256</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></th>
          <th align="right"></th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">Non-stationary</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[N\approx\frac{M^4}{2}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>≈</mml:mo><mml:mfrac><mml:msup><mml:mi>M</mml:mi><mml:mn>4</mml:mn></mml:msup><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[M\approx91]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>≈</mml:mo><mml:mn>91</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">23</td>
          <td align="right">5</td>
          <td align="right"></td>
        </tr>
        <tr>
          <td align="left">Anisotropic, stationary</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[N\approx2M^2]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>≈</mml:mo><mml:mn>2</mml:mn><mml:msup><mml:mi>M</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[M\approx4096]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>≈</mml:mo><mml:mn>4096</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">256</td>
          <td align="right">11</td>
          <td align="right"></td>
        </tr>
        <tr>
          <td align="left">Isotropic, stationary</td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[N\approx\frac{M^2}{2}]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>N</mml:mi><mml:mo>≈</mml:mo><mml:mfrac><mml:msup><mml:mi>M</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right"><inline-formula><alternatives>
          <tex-math><![CDATA[M\approx8192]]></tex-math>
          <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>M</mml:mi><mml:mo>≈</mml:mo><mml:mn>8192</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></td>
          <td align="right">512</td>
          <td align="right">23</td>
          <td align="right"></td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Upstream versions of the baselines and of the reference
      library, and the packages used in the reported runs. Full commit
      hashes and SHA-256 digests of all downloaded sources and archives
      are recorded in the <monospace>references/</monospace> directory
      of the <monospace>libmatern</monospace> repository.</p>
    </caption>
    <table id="tabU003Aapp-versions">
      <thead>
        <tr>
          <th align="left">Baseline</th>
          <th align="left">Upstream version</th>
          <th align="left">Used in the reported runs</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">CuBesselK</td>
          <td align="left">commit <monospace>94ec9ca</monospace>
          (2025-03-17); no tagged release</td>
          <td align="left"><monospace>logbesselk.cu</monospace>,
          <monospace>logbesselk.h</monospace> at this commit, ported by
          script</td>
        </tr>
        <tr>
          <td align="left">Bessels.jl, main branch</td>
          <td align="left">commit <monospace>009b615</monospace>
          (2026-06-30), version 0.3.0-DEV</td>
          <td align="left">C port</td>
        </tr>
        <tr>
          <td align="left">Bessels.jl, v0.2.8</td>
          <td align="left">release v0.2.8 (2023-01-28), commit
          <monospace>1475e9e</monospace></td>
          <td align="left">C port</td>
        </tr>
        <tr>
          <td align="left">Boost.Math (CPU)</td>
          <td align="left">1.75.0; Boost.Math
          <monospace>a0a97b7</monospace></td>
          <td align="left">RHEL
          <monospace>boost-devel-1.75.0-11.el9_6</monospace></td>
        </tr>
        <tr>
          <td align="left">Boost.Math (GPU)</td>
          <td align="left">1.87.0; Boost.Math
          <monospace>f1b0b95</monospace></td>
          <td align="left">module
          <monospace>lib/boost/1.87.0</monospace></td>
        </tr>
        <tr>
          <td align="left">GSL</td>
          <td align="left">2.6 (2019-08-20), tag
          <monospace>release-2-6</monospace>
          (<monospace>8f0165f</monospace>)</td>
          <td align="left">RHEL
          <monospace>gsl-2.6-7.el9</monospace></td>
        </tr>
        <tr>
          <td align="left">libstdc++</td>
          <td align="left">GCC 14.2.0 (2024-08-01),
          <monospace>04696df</monospace></td>
          <td align="left">module
          <monospace>compiler/gnu/14.2</monospace></td>
        </tr>
        <tr>
          <td align="left">SciPy</td>
          <td align="left">1.18.1 (xsf headers, PyPI source
          distribution)</td>
          <td align="left">C++ compiled,
          <monospace>-ffp-contract=off</monospace></td>
        </tr>
        <tr>
          <td align="left">FLINT/Arb</td>
          <td align="left">3.1.0</td>
          <td align="left">reference data (Mann &amp; Schlather,
          2026)</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
  <table-wrap>
    <caption>
      <p>Generated files behind the tables and figures.
      <monospace>make figures</monospace> and
      <monospace>make tables</monospace>, run in the
      <monospace>libmatern</monospace> source tree with the run
      directories of release v0.9.6, write them to
      <monospace>plots/paper-final/</monospace> and
      <monospace>tables/paper/</monospace>; <monospace>A</monospace> and
      <monospace>I</monospace> denote the subdirectories
      <monospace>epyc-9454</monospace> (AMD CPU) and
      <monospace>xeon-platinum-8358</monospace> (Intel CPU and A100).
      The figures and tables of this version are generated by the code
      of release v0.9.6 from these run directories. The versions in this
      paper can differ in caption, cropping and styling.</p>
    </caption>
    <table id="tabU003Aapp-map">
      <thead>
        <tr>
          <th align="left">Paper</th>
          <th align="left">Generated file</th>
          <th align="left">Command</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td align="left">Fig. 1, A1</td>
          <td align="left"><monospace>routing/fig-paper-domain-backends</monospace>,
          <monospace>routing/fig-paper-domain-bessels</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. 2</td>
          <td align="left"><monospace>A/fig-paper-fold-z_nu</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A2</td>
          <td align="left"><monospace>I/fig-paper-gpu-boost-shortcut</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A3</td>
          <td align="left"><monospace>A/fig-paper-workspace-size_random_large-z_nu</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A4, A15</td>
          <td align="left"><monospace>A/fig-paper-ladder-size_{random,half}_large-z_nu</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A5</td>
          <td align="left"><monospace>I/fig-paper-gpu-modes-size_random_large-z_nu</monospace>
          (upper panel)</td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A6, A7</td>
          <td align="left"><monospace>A/fig-paper-levin-cpu-avx512-z_nu</monospace>,
          <monospace>I/fig-paper-levin-cuda-async-direct-z_nu</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A8, A9</td>
          <td align="left"><monospace>A/fig-paper-assembly-z_nu</monospace>,
          <monospace>I/fig-paper-gpu-assembly-z_nu</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A10, A11</td>
          <td align="left"><monospace>A/fig-paper-cost-accuracy-{z_nu,h_nu_s}-call</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A12, A13</td>
          <td align="left"><monospace>A/fig-paper-accuracy-distribution-{z_nu,h_nu_s}</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A14</td>
          <td align="left"><monospace>I/fig-paper-threads-z_nu</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Fig. A16, A17</td>
          <td align="left"><monospace>I/fig-paper-gpu-plane-{z_nu,h_nu_s}</monospace></td>
          <td align="left"><monospace>make figures</monospace></td>
        </tr>
        <tr>
          <td align="left">Table 1</td>
          <td align="left"><monospace>tab-datasets</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Tables 2, B8, B9</td>
          <td align="left"><monospace>tab-medmax-z_nu</monospace>,
          <monospace>I/tab-gpu-medmax-z_nu</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Table 3</td>
          <td align="left"><monospace>A/tab-throughput-z_nu</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Table 4</td>
          <td align="left"><monospace>I/tab-gpu-summary-z_nu</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Table B4</td>
          <td align="left"><monospace>tab-references</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Table B6</td>
          <td align="left"><monospace>tab-exclusions-z_nu</monospace>,
          <monospace>I/tab-gpu-exclusions-z_nu</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Table B7</td>
          <td align="left"><monospace>tab-environment</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Table B10</td>
          <td align="left"><monospace>I/tab-gpu-cost-z_nu</monospace>,
          <monospace>I/tab-gpu-call-z_nu</monospace></td>
          <td align="left"><monospace>make tables</monospace></td>
        </tr>
        <tr>
          <td align="left">Tables B1–B3, B5, B11, B12</td>
          <td align="left">— (source code, configuration and
          <monospace>references/</monospace>)</td>
          <td align="left">—</td>
        </tr>
      </tbody>
    </table>
  </table-wrap>
</sec>
</body>
<back><ref-list><ref id="ref1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Amos</surname><given-names>D. E.</given-names></name></person-group><article-title>Algorithm 644: A portable package for Bessel functions of a complex argument and nonnegative order</article-title><source>ACM Transactions on Mathematical Software</source><year>1986</year><volume>12</volume><issue>3</issue><fpage>265</fpage><lpage>273</lpage><publisher-name>Association for Computing Machinery (ACM)</publisher-name><pub-id pub-id-type="doi">10.1145/7921.214331</pub-id></element-citation></ref><ref id="ref2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bahg</surname><given-names>Giwon</given-names></name><name><surname>Evans</surname><given-names>Daniel G.</given-names></name><name><surname>Galdo</surname><given-names>Matthew</given-names></name><name><surname>Turner</surname><given-names>Brandon M.</given-names></name></person-group><article-title>Gaussian process linking functions for mind, brain, and behavior</article-title><source>Proceedings of the National Academy of Sciences</source><year>2020</year><volume>117</volume><issue>47</issue><fpage>29398</fpage><lpage>29406</lpage><publisher-name>National Academy of Sciences</publisher-name><pub-id pub-id-type="doi">10.1073/pnas.1912342117</pub-id></element-citation></ref><ref id="ref3"><mixed-citation>Boost Developers. (n.d.). Boost.Math: Mathematical special functions and numerical algorithms. https://github.com/boostorg/math.</mixed-citation></ref><ref id="ref4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chaudhuri</surname><given-names>Somnath</given-names></name><name><surname>Barceló</surname><given-names>Maria A.</given-names></name><name><surname>Juan</surname><given-names>Pablo</given-names></name><name><surname>Varga</surname><given-names>Diego</given-names></name><name><surname>Bolin</surname><given-names>David</given-names></name><name><surname>Rue</surname><given-names>Håvard</given-names></name><name><surname>Saez</surname><given-names>Marc</given-names></name></person-group><article-title>Enhanced spatial modeling on linear networks using Gaussian Whittle-Matérn fields</article-title><source>Stochastic Environmental Research and Risk Assessment</source><year>2025</year><volume>39</volume><issue>3</issue><fpage>1143</fpage><lpage>1158</lpage><publisher-name>Springer Science and Business Media LLC</publisher-name><pub-id pub-id-type="doi">10.1007/s00477-025-02912-6</pub-id></element-citation></ref><ref id="ref5"><mixed-citation>Cuyt, A. A. M., Petersen, V. B., Verdonk, B., Waadeland, H., &amp; Jones, W. B. (2008). Handbook of continued fractions for special functions. Springer. https://doi.org/10.1007/978-1-4020-6949-9</mixed-citation></ref><ref id="ref6"><mixed-citation>GCC Development Team. (n.d.). The GNU C++ library (libstdc++). https://gcc.gnu.org/onlinedocs/libstdc++/.</mixed-citation></ref><ref id="ref7"><mixed-citation>Geng, Z., &amp; Abdulah, S. (n.d.). CuBesselK: GPU-acceleration of modified Bessel function of the second kind. https://github.com/stsds/CuBesselK/tree/94ec9ca4bb9d7524c196f044503519ab30d8eb39.</mixed-citation></ref><ref id="ref8"><element-citation publication-type="confproc"><person-group person-group-type="author"><name><surname>Geng</surname><given-names>Zipei</given-names></name><name><surname>Abdulah</surname><given-names>Sameh</given-names></name><name><surname>Sun</surname><given-names>Ying</given-names></name><name><surname>Ltaief</surname><given-names>Hatem</given-names></name><name><surname>Keyes</surname><given-names>David E.</given-names></name><name><surname>Genton</surname><given-names>Marc G.</given-names></name></person-group><article-title>GPU-Accelerated Modified Bessel Function of the Second Kind for Gaussian Processes</article-title><source>ISC High Performance 2025 Research Paper Proceedings (40th International Conference)</source><year>2025</year><fpage>1</fpage><lpage>12</lpage><publisher-name>IEEE</publisher-name><pub-id pub-id-type="doi">10.23919/ISC.2025.11018305</pub-id></element-citation></ref><ref id="ref9"><mixed-citation>GSL Development Team. (n.d.). GNU Scientific Library (GSL): Source code repository. https://savannah.gnu.org/projects/gsl/.</mixed-citation></ref><ref id="ref10"><mixed-citation>Jaquier, N., Borovitskiy, V., Smolensky, A., Terenin, A., Asfour, T., &amp; Rozo, L. (2022). Geometry-aware Bayesian optimization in robotics using Riemannian Matérn kernels. In A. Faust, D. Hsu, &amp; G. Neumann (Eds.), Proceedings of the 5th conference on robot learning (Vol. 164, pp. 794–805). PMLR. https://proceedings.mlr.press/v164/jaquier22a.html</mixed-citation></ref><ref id="ref11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Johansson</surname><given-names>Fredrik</given-names></name></person-group><article-title>Arb: Efficient Arbitrary-Precision Midpoint-Radius Interval Arithmetic</article-title><source>IEEE Transactions on Computers</source><year>2017</year><volume>66</volume><issue>8</issue><fpage>1281</fpage><lpage>1292</lpage><publisher-name>Institute of Electrical and Electronics Engineers (IEEE)</publisher-name><pub-id pub-id-type="doi">10.1109/TC.2017.2690633</pub-id></element-citation></ref><ref id="ref12"><mixed-citation>JuliaMath. (n.d.-a). Bessels.jl: Numerical computation of Bessel functions in julia. https://github.com/JuliaMath/Bessels.jl/tree/009b615347d91d1dd69962641647521901362af3.</mixed-citation></ref><ref id="ref13"><mixed-citation>JuliaMath. (n.d.-b). Bessels.jl: Numerical computation of Bessel functions in julia. https://github.com/JuliaMath/Bessels.jl/tree/v0.2.8.</mixed-citation></ref><ref id="ref14"><element-citation publication-type="data"><person-group person-group-type="author"><name><surname>Mann</surname><given-names>Daniel</given-names></name><name><surname>Schlather</surname><given-names>Martin</given-names></name></person-group><article-title>Reference high precision datasets for the Matérn covariance function</article-title><year>2026</year><publisher-name>Zenodo</publisher-name><pub-id pub-id-type="doi">10.5281/zenodo.23393956</pub-id></element-citation></ref><ref id="ref15"><mixed-citation>Muller, J.-M., Brunie, N., Dinechin, F. de, Jeannerod, C.-P., Joldes, M., Lefèvre, V., Melquiond, G., Revol, N., &amp; Torres, S. (2018). Handbook of floating-point arithmetic (2nd ed.). Birkhäuser. https://doi.org/10.1007/978-3-319-76526-6</mixed-citation></ref><ref id="ref16"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-a). Asymptotic Expansions for Large Argument. https://dlmf.nist.gov/10.40.2.</mixed-citation></ref><ref id="ref17"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-b). Asymptotic Expansions for Large Order. https://dlmf.nist.gov/10.41.4.</mixed-citation></ref><ref id="ref18"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-c). Connection Formulas for Modified Bessel Functions. https://dlmf.nist.gov/10.27.E4.</mixed-citation></ref><ref id="ref19"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-d). Continued Fractions for Modified Bessel Functions. https://dlmf.nist.gov/10.33.</mixed-citation></ref><ref id="ref20"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-e). Definitions for Modified Bessel Functions. https://dlmf.nist.gov/10.25.E2.</mixed-citation></ref><ref id="ref21"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-f). Levin-Weniger Transformation. http://dlmf.nist.gov/3.9.E16.</mixed-citation></ref><ref id="ref22"><mixed-citation>NIST Digital Library of Mathematical Functions. (n.d.-g). Recurrence Relations and Derivatives for Modified Bessel Functions. https://dlmf.nist.gov/10.29.i.</mixed-citation></ref><ref id="ref23"><mixed-citation>Stein, M. L. (2005). Nonstationary spatial covariance functions (Technical Report No. 21). Center for Integrating Statistical and Environmental Science, University of Chicago. https://websites.umich.edu/jizhu/jizhu/covar/Stein-Summary.pdf</mixed-citation></ref><ref id="ref24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Temme</surname><given-names>N.M.</given-names></name></person-group><article-title>On the numerical evaluation of the modified bessel function of the third kind</article-title><source>Journal of Computational Physics</source><year>1975</year><volume>19</volume><issue>3</issue><fpage>324</fpage><lpage>337</lpage><publisher-name>Elsevier BV</publisher-name><pub-id pub-id-type="doi">10.1016/0021-9991(75)90082-0</pub-id></element-citation></ref><ref id="ref25"><mixed-citation>The FLINT team. (2026). FLINT: Fast Library for Number Theory [Version 3.1.0]. https://flintlib.org</mixed-citation></ref><ref id="ref26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Virtanen</surname><given-names>Pauli</given-names></name><name><surname>Gommers</surname><given-names>Ralf</given-names></name><name><surname>Oliphant</surname><given-names>Travis E.</given-names></name><name><surname>Haberland</surname><given-names>Matt</given-names></name><name><surname>Reddy</surname><given-names>Tyler</given-names></name><name><surname>Cournapeau</surname><given-names>David</given-names></name><name><surname>Burovski</surname><given-names>Evgeni</given-names></name><name><surname>Peterson</surname><given-names>Pearu</given-names></name><name><surname>Weckesser</surname><given-names>Warren</given-names></name><name><surname>Bright</surname><given-names>Jonathan</given-names></name><name><surname>van der Walt</surname><given-names>Stéfan J.</given-names></name><name><surname>Brett</surname><given-names>Matthew</given-names></name><name><surname>Wilson</surname><given-names>Joshua</given-names></name><name><surname>Millman</surname><given-names>K. Jarrod</given-names></name><name><surname>Mayorov</surname><given-names>Nikolay</given-names></name><name><surname>Nelson</surname><given-names>Andrew R. J.</given-names></name><name><surname>Jones</surname><given-names>Eric</given-names></name><name><surname>Kern</surname><given-names>Robert</given-names></name><name><surname>Larson</surname><given-names>Eric</given-names></name><name><surname>Carey</surname><given-names>C J</given-names></name><name><surname>Polat</surname><given-names>İlhan</given-names></name><name><surname>Feng</surname><given-names>Yu</given-names></name><name><surname>Moore</surname><given-names>Eric W.</given-names></name><name><surname>VanderPlas</surname><given-names>Jake</given-names></name><name><surname>Laxalde</surname><given-names>Denis</given-names></name><name><surname>Perktold</surname><given-names>Josef</given-names></name><name><surname>Cimrman</surname><given-names>Robert</given-names></name><name><surname>Henriksen</surname><given-names>Ian</given-names></name><name><surname>Quintero</surname><given-names>E. A.</given-names></name><name><surname>Harris</surname><given-names>Charles R.</given-names></name><name><surname>Archibald</surname><given-names>Anne M.</given-names></name><name><surname>Ribeiro</surname><given-names>Antônio H.</given-names></name><name><surname>Pedregosa</surname><given-names>Fabian</given-names></name><name><surname>van Mulbregt</surname><given-names>Paul</given-names></name><string-name>SciPy 1.0 Contributors</string-name><name><surname>Vijaykumar</surname><given-names>Aditya</given-names></name><name><surname>Bardelli</surname><given-names>Alessandro Pietro</given-names></name><name><surname>Rothberg</surname><given-names>Alex</given-names></name><name><surname>Hilboll</surname><given-names>Andreas</given-names></name><name><surname>Kloeckner</surname><given-names>Andreas</given-names></name><name><surname>Scopatz</surname><given-names>Anthony</given-names></name><name><surname>Lee</surname><given-names>Antony</given-names></name><name><surname>Rokem</surname><given-names>Ariel</given-names></name><name><surname>Woods</surname><given-names>C. Nathan</given-names></name><name><surname>Fulton</surname><given-names>Chad</given-names></name><name><surname>Masson</surname><given-names>Charles</given-names></name><name><surname>Häggström</surname><given-names>Christian</given-names></name><name><surname>Fitzgerald</surname><given-names>Clark</given-names></name><name><surname>Nicholson</surname><given-names>David A.</given-names></name><name><surname>Hagen</surname><given-names>David R.</given-names></name><name><surname>Pasechnik</surname><given-names>Dmitrii V.</given-names></name><name><surname>Olivetti</surname><given-names>Emanuele</given-names></name><name><surname>Martin</surname><given-names>Eric</given-names></name><name><surname>Wieser</surname><given-names>Eric</given-names></name><name><surname>Silva</surname><given-names>Fabrice</given-names></name><name><surname>Lenders</surname><given-names>Felix</given-names></name><name><surname>Wilhelm</surname><given-names>Florian</given-names></name><name><surname>Young</surname><given-names>G.</given-names></name><name><surname>Price</surname><given-names>Gavin A.</given-names></name><name><surname>Ingold</surname><given-names>Gert-Ludwig</given-names></name><name><surname>Allen</surname><given-names>Gregory E.</given-names></name><name><surname>Lee</surname><given-names>Gregory R.</given-names></name><name><surname>Audren</surname><given-names>Hervé</given-names></name><name><surname>Probst</surname><given-names>Irvin</given-names></name><name><surname>Dietrich</surname><given-names>Jörg P.</given-names></name><name><surname>Silterra</surname><given-names>Jacob</given-names></name><name><surname>Webber</surname><given-names>James T</given-names></name><name><surname>Slavič</surname><given-names>Janko</given-names></name><name><surname>Nothman</surname><given-names>Joel</given-names></name><name><surname>Buchner</surname><given-names>Johannes</given-names></name><name><surname>Kulick</surname><given-names>Johannes</given-names></name><name><surname>Schönberger</surname><given-names>Johannes L.</given-names></name><name><surname>de Miranda Cardoso</surname><given-names>José Vinícius</given-names></name><name><surname>Reimer</surname><given-names>Joscha</given-names></name><name><surname>Harrington</surname><given-names>Joseph</given-names></name><name><surname>Rodríguez</surname><given-names>Juan Luis Cano</given-names></name><name><surname>Nunez-Iglesias</surname><given-names>Juan</given-names></name><name><surname>Kuczynski</surname><given-names>Justin</given-names></name><name><surname>Tritz</surname><given-names>Kevin</given-names></name><name><surname>Thoma</surname><given-names>Martin</given-names></name><name><surname>Newville</surname><given-names>Matthew</given-names></name><name><surname>Kümmerer</surname><given-names>Matthias</given-names></name><name><surname>Bolingbroke</surname><given-names>Maximilian</given-names></name><name><surname>Tartre</surname><given-names>Michael</given-names></name><name><surname>Pak</surname><given-names>Mikhail</given-names></name><name><surname>Smith</surname><given-names>Nathaniel J.</given-names></name><name><surname>Nowaczyk</surname><given-names>Nikolai</given-names></name><name><surname>Shebanov</surname><given-names>Nikolay</given-names></name><name><surname>Pavlyk</surname><given-names>Oleksandr</given-names></name><name><surname>Brodtkorb</surname><given-names>Per A.</given-names></name><name><surname>Lee</surname><given-names>Perry</given-names></name><name><surname>McGibbon</surname><given-names>Robert T.</given-names></name><name><surname>Feldbauer</surname><given-names>Roman</given-names></name><name><surname>Lewis</surname><given-names>Sam</given-names></name><name><surname>Tygier</surname><given-names>Sam</given-names></name><name><surname>Sievert</surname><given-names>Scott</given-names></name><name><surname>Vigna</surname><given-names>Sebastiano</given-names></name><name><surname>Peterson</surname><given-names>Stefan</given-names></name><name><surname>More</surname><given-names>Surhud</given-names></name><name><surname>Pudlik</surname><given-names>Tadeusz</given-names></name><name><surname>Oshima</surname><given-names>Takuya</given-names></name><name><surname>Pingel</surname><given-names>Thomas J.</given-names></name><name><surname>Robitaille</surname><given-names>Thomas P.</given-names></name><name><surname>Spura</surname><given-names>Thomas</given-names></name><name><surname>Jones</surname><given-names>Thouis R.</given-names></name><name><surname>Cera</surname><given-names>Tim</given-names></name><name><surname>Leslie</surname><given-names>Tim</given-names></name><name><surname>Zito</surname><given-names>Tiziano</given-names></name><name><surname>Krauss</surname><given-names>Tom</given-names></name><name><surname>Upadhyay</surname><given-names>Utkarsh</given-names></name><name><surname>Halchenko</surname><given-names>Yaroslav O.</given-names></name><name><surname>Vázquez-Baeza</surname><given-names>Yoshiki</given-names></name></person-group><article-title>SciPy 1.0: fundamental algorithms for scientific computing in Python</article-title><source>Nature Methods</source><year>2020</year><volume>17</volume><issue>3</issue><fpage>261</fpage><lpage>272</lpage><publisher-name>Springer Science and Business Media LLC</publisher-name><pub-id pub-id-type="doi">10.1038/s41592-019-0686-2</pub-id></element-citation></ref><ref id="ref27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Weniger</surname><given-names>Ernst Joachim</given-names></name></person-group><article-title>Nonlinear sequence transformations for the acceleration of convergence and the summation of divergent series</article-title><source>Computer Physics Reports</source><year>1989</year><volume>10</volume><issue>5-6</issue><fpage>189</fpage><lpage>371</lpage><publisher-name>Elsevier BV</publisher-name><pub-id pub-id-type="doi">10.1016/0167-7977(89)90011-7</pub-id></element-citation></ref></ref-list>
<ref-list>
  <title>References</title>
  <ref id="ref-Amos1986">
    <mixed-citation>Amos, D. E. (1986). Algorithm 644: A portable
    package for bessel functions of a complex argument and nonnegative
    order. <italic>ACM Trans. Math. Softw.</italic>,
    <italic>12</italic>(3), 265–273.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/7921.214331">https://doi.org/10.1145/7921.214331</ext-link></mixed-citation>
  </ref>
  <ref id="ref-BahgEtAl2020GaussianProcess">
    <mixed-citation>Bahg, G., Evans, D. G., Galdo, M., &amp; Turner, B.
    M. (2020). Gaussian process linking functions for mind, brain, and
    behavior. <italic>Proceedings of the National Academy of
    Sciences</italic>, <italic>117</italic>(47), 29398–29406.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1073/pnas.1912342117">https://doi.org/10.1073/pnas.1912342117</ext-link></mixed-citation>
  </ref>
  <ref id="ref-BoostMath_GitHub">
    <mixed-citation>Boost Developers. (n.d.). <italic>Boost.Math:
    Mathematical special functions and numerical algorithms</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://github.com/boostorg/math">https://github.com/boostorg/math</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-ChaudhuriEtAl2023WhittleMatern">
    <mixed-citation>Chaudhuri, S., Barceló, M. A., Juan, P., Varga, D.,
    Bolin, D., Rue, H., &amp; Saez, M. (2025). Enhanced spatial modeling
    on linear networks using Gaussian
    <named-content content-type="nocase">Whittle–Mat<named-content content-type="nocase">é</named-content>rn</named-content>
    fields. <italic>Stoch Environ Res Risk Assess</italic>,
    <italic>39</italic>, 1143–1158.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s00477-025-02912-6">https://doi.org/10.1007/s00477-025-02912-6</ext-link></mixed-citation>
  </ref>
  <ref id="ref-CuytEtAl2010ContinuedFractions">
    <mixed-citation>Cuyt, A. A. M., Petersen, V. B., Verdonk, B.,
    Waadeland, H., &amp; Jones, W. B. (2008). <italic>Handbook of
    continued fractions for special functions</italic>. Springer.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-1-4020-6949-9">https://doi.org/10.1007/978-1-4020-6949-9</ext-link></mixed-citation>
  </ref>
  <ref id="ref-Libstdcxx_GitHub">
    <mixed-citation>GCC Development Team. (n.d.). <italic>The GNU C++
    library
    (<named-content content-type="nocase">libstdc++</named-content>)</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://gcc.gnu.org/onlinedocs/libstdc++/">https://gcc.gnu.org/onlinedocs/libstdc++/</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-CuBesselK_GitHub">
    <mixed-citation>Geng, Z., &amp; Abdulah, S. (n.d.).
    <italic>CuBesselK: GPU-acceleration of modified Bessel function of
    the second kind</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://github.com/stsds/CuBesselK/tree/94ec9ca4bb9d7524c196f044503519ab30d8eb39">https://github.com/stsds/CuBesselK/tree/94ec9ca4bb9d7524c196f044503519ab30d8eb39</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-GengEtAl2025GPUAcceleratedBessel">
    <mixed-citation>Geng, Z., Abdulah, S., Sun, Y., Ltaief, H., Keyes,
    D. E., &amp; Genton, M. G. (2025). GPU-accelerated modified Bessel
    function of the second kind for Gaussian processes. <italic>ISC High
    Performance 2025 Research Paper Proceedings (40th International
    Conference)</italic>, 1–12.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.23919/ISC.2025.11018305">https://doi.org/10.23919/ISC.2025.11018305</ext-link></mixed-citation>
  </ref>
  <ref id="ref-GSL_Repository">
    <mixed-citation>GSL Development Team. (n.d.). <italic>GNU Scientific
    Library (GSL): Source code repository</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://savannah.gnu.org/projects/gsl/">https://savannah.gnu.org/projects/gsl/</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-JaquierEtAl2022GeometryAwareBO">
    <mixed-citation>Jaquier, N., Borovitskiy, V., Smolensky, A.,
    Terenin, A., Asfour, T., &amp; Rozo, L. (2022). Geometry-aware
    Bayesian optimization in robotics using Riemannian
    <named-content content-type="nocase">Mat<named-content content-type="nocase">é</named-content>rn</named-content>
    kernels. In A. Faust, D. Hsu, &amp; G. Neumann (Eds.),
    <italic>Proceedings of the 5th conference on robot learning</italic>
    (Vol. 164, pp. 794–805). PMLR.
    <ext-link ext-link-type="uri" xlink:href="https://proceedings.mlr.press/v164/jaquier22a.html">https://proceedings.mlr.press/v164/jaquier22a.html</ext-link></mixed-citation>
  </ref>
  <ref id="ref-Johansson2017Arb">
    <mixed-citation>Johansson, F. (2017). Arb: Efficient
    arbitrary-precision midpoint-radius interval arithmetic.
    <italic>IEEE Transactions on Computers</italic>,
    <italic>66</italic>(8), 1281–1292.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TC.2017.2690633">https://doi.org/10.1109/TC.2017.2690633</ext-link></mixed-citation>
  </ref>
  <ref id="ref-JuliaMath_Bessels_main">
    <mixed-citation>JuliaMath. (n.d.-a).
    <italic><named-content content-type="nocase">Bessels.jl</named-content>:
    Numerical computation of Bessel functions in julia</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://github.com/JuliaMath/Bessels.jl/tree/009b615347d91d1dd69962641647521901362af3">https://github.com/JuliaMath/Bessels.jl/tree/009b615347d91d1dd69962641647521901362af3</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-JuliaMath_Bessels_v028">
    <mixed-citation>JuliaMath. (n.d.-b).
    <italic><named-content content-type="nocase">Bessels.jl</named-content>:
    Numerical computation of Bessel functions in julia</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://github.com/JuliaMath/Bessels.jl/tree/v0.2.8">https://github.com/JuliaMath/Bessels.jl/tree/v0.2.8</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-mann_2026_23393956">
    <mixed-citation>Mann, D., &amp; Schlather, M. (2026).
    <italic>Reference high precision datasets for the Matérn covariance
    function</italic>.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.23393956">https://doi.org/10.5281/zenodo.23393956</ext-link>;
    Zenodo.</mixed-citation>
  </ref>
  <ref id="ref-MullerEtAl2018">
    <mixed-citation>Muller, J.-M., Brunie, N., Dinechin, F. de,
    Jeannerod, C.-P., Joldes, M., Lefèvre, V., Melquiond, G., Revol, N.,
    &amp; Torres, S. (2018). <italic>Handbook of floating-point
    arithmetic</italic> (2nd ed.). Birkhäuser.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-319-76526-6">https://doi.org/10.1007/978-3-319-76526-6</ext-link></mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ABesselKU003AAsymptotic">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-a). <italic><named-content content-type="nocase">Asymptotic
    Expansions for Large Argument</named-content></italic>.
    <ext-link ext-link-type="uri" xlink:href="https://dlmf.nist.gov/10.40.2">https://dlmf.nist.gov/10.40.2</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ABesselKU003AAsymptoticDebye">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-b). <italic><named-content content-type="nocase">Asymptotic
    Expansions for Large Order</named-content></italic>.
    <ext-link ext-link-type="uri" xlink:href="https://dlmf.nist.gov/10.41.4">https://dlmf.nist.gov/10.41.4</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ABesselKU003ASeries">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-c). <italic><named-content content-type="nocase">Connection
    Formulas for Modified Bessel Functions</named-content></italic>.
    <ext-link ext-link-type="uri" xlink:href="https://dlmf.nist.gov/10.27.E4">https://dlmf.nist.gov/10.27.E4</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ABesselKU003AContinuedFractions">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-d). <italic><named-content content-type="nocase">Continued
    Fractions for Modified Bessel Functions</named-content></italic>.
    <ext-link ext-link-type="uri" xlink:href="https://dlmf.nist.gov/10.33">https://dlmf.nist.gov/10.33</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ABesselIU003ADefinition">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-e). <italic><named-content content-type="nocase">Definitions
    for Modified Bessel Functions</named-content></italic>.
    <ext-link ext-link-type="uri" xlink:href="https://dlmf.nist.gov/10.25.E2">https://dlmf.nist.gov/10.25.E2</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ALevin">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-f). <italic>Levin-Weniger Transformation</italic>.
    <ext-link ext-link-type="uri" xlink:href="http://dlmf.nist.gov/3.9.E16">http://dlmf.nist.gov/3.9.E16</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-DLMFU003ABesselKU003ARecurrence">
    <mixed-citation>NIST Digital Library of Mathematical Functions.
    (n.d.-g). <italic><named-content content-type="nocase">Recurrence
    Relations and Derivatives for Modified Bessel
    Functions</named-content></italic>.
    <ext-link ext-link-type="uri" xlink:href="https://dlmf.nist.gov/10.29.i">https://dlmf.nist.gov/10.29.i</ext-link>.</mixed-citation>
  </ref>
  <ref id="ref-Stein2005Nonstationary">
    <mixed-citation>Stein, M. L. (2005). <italic>Nonstationary spatial
    covariance functions</italic> (Technical Report No. 21). Center for
    Integrating Statistical and Environmental Science, University of
    Chicago.
    <ext-link ext-link-type="uri" xlink:href="https://websites.umich.edu/jizhu/jizhu/covar/Stein-Summary.pdf">https://websites.umich.edu/jizhu/jizhu/covar/Stein-Summary.pdf</ext-link></mixed-citation>
  </ref>
  <ref id="ref-Temme1975ModifiedBesselThirdKind">
    <mixed-citation>Temme, N. M. (1975). On the numerical evaluation of
    the modified Bessel function of the third kind. <italic>Journal of
    Computational Physics</italic>, <italic>19</italic>(3), 324–337.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/0021-9991(75)90082-0">https://doi.org/10.1016/0021-9991(75)90082-0</ext-link></mixed-citation>
  </ref>
  <ref id="ref-FLINT2026">
    <mixed-citation>The FLINT team. (2026). <italic>FLINT: Fast Library
    for Number Theory</italic> [Version 3.1.0].
    <ext-link ext-link-type="uri" xlink:href="https://flintlib.org">https://flintlib.org</ext-link></mixed-citation>
  </ref>
  <ref id="ref-SciPy">
    <mixed-citation><named-content content-type="nocase">Virtanen, P.,
    Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau,
    D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der
    Walt, S. J., &amp; SciPy 1.0 Contributors</named-content>. (2020).
    SciPy 1.0: Fundamental algorithms for scientific computing in
    python. <italic>Nature Methods</italic>, <italic>17</italic>(3),
    261–272.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41592-019-0686-2">https://doi.org/10.1038/s41592-019-0686-2</ext-link></mixed-citation>
  </ref>
  <ref id="ref-WENIGER1989189">
    <mixed-citation>Weniger, E. J. (1989). Nonlinear sequence
    transformations for the acceleration of convergence and the
    summation of divergent series. <italic>Computer Physics
    Reports</italic>, <italic>10</italic>(5), 189–371.
    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/0167-7977(89)90011-7">https://doi.org/10.1016/0167-7977(89)90011-7</ext-link></mixed-citation>
  </ref>
</ref-list>
</back>
<sub-article id="pr-r1-letter" article-type="editor-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r1.letter</article-id>
<title-group>
<article-title>Decision letter, round 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-8638-5276</contrib-id>
<string-name>Matthias Templ</string-name>
<role specific-use="editor">Editor</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="editor-decision-sent">
<event-desc>Editor decision sent</event-desc>
<date iso-8601-date="2026-10-31"><day>31</day><month>10</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>0</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>minor-revision</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><bold>Minor revision.</bold> Confirmed and signed by Matthias Templ on 2026-10-31.</p>
<p>Thank you for your submission to JRepStat. We are inviting a minor revision. The reviewers’ points follow, grouped by weight.</p>
<p>libmatern evaluates the normalised Matérn covariance directly by folding the Gamma-power prefactor into several numerical formulations of the modified Bessel function Kν, with architecture-specific routing for scalar CPU, SIMD CPU and CUDA GPU. It matters to spatial-statistics and Gaussian-process practitioners who repeatedly assemble Matérn covariance matrices, especially when the smoothness parameter is estimated, because it returns finite, accurate values in regimes where common libraries overflow and delivers large CPU throughput gains. We would be glad to see the revised version.</p>
<p>How to read this letter. The decision rests on the items marked required. If a required item seems wrong to you, or cannot be done within this paper, decline it on the revision page and give the reason. A reasoned decline is a legitimate answer, and the editor weighs it. Reviewers can be mistaken. Items marked recommended or optional are advice from the reviewers. Adopt them, decline them with a sentence, or leave them for later work. None of that counts against the paper. The reviewer reports below carry the same marks. The editor who signs this decision may weigh an item differently in the accompanying message, and that message prevails.</p>
<p><sc>required</sc> (the decision rests on these):</p>
<list list-type="bullet">
  <list-item>
    <p>[methods-soundness] The timing tables (Table 3, Table 4, Table B10) report a single “ns/value” for each method, and the speedup claims rest entirely on these numbers, but the central tendency (mean, median) and the spread across the 25 measured repetitions are not stated. Please name the statistic used and add a measure of spread from the runs you already have, or qualify the speedup figures as point estimates from a single summary. Figure A5 already shows IQR and whiskers for the transfer strategies, so the same can be given for the headline comparisons.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 1] The abstract and Section 5.3 headline the CPU gain as the maximum 6.6×, drawn from the random mixture that Table B5 states was built to cover routing regions, not application workloads. Report a typical CPU speedup alongside the maximum and name the benchmark nature, so an application reader does not expect 6.6× in their own pipeline.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 2] State which summary statistic over the 25 repetitions the per-element costs in Tables 3, 4 and B10 report, and give a dispersion measure for the headline speedups, so the numbers are interpretable.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 3] record the exact build configuration the reported ULP and timing numbers depend on, and attest that a repeat run reproduces them.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 3] pin the exact upstream version or commit of CuBesselK, and of every baseline, that the modification script and the ports target, since the manuscript states the CuBesselK source is downloaded separately and not redistributed.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 3] state what the headline “maximum 6.6× speedup” is taken over, and give the representative CPU speedup beside it, or qualify the abstract to call it a best case.</p>
  </list-item>
</list>
<p><sc>recommended</sc>:</p>
<list list-type="bullet">
  <list-item>
    <p>[statistical-rigor] The speedup factors are ratios of two measured timings, so their uncertainty is larger than that of either timing alone, and a ratio near 1.00× (the grid end-to-end entry in Table 4) may be compatible with no difference once variability is included. State the central speedup with the range implied by the measured timing spread, so a reader can see which crossovers and which near-unity ratios are resolved by the data and which are not.</p>
  </list-item>
  <list-item>
    <p>[visualisation] Figures A4, A10, A11, A14 and A15 separate nine or ten implementations, and the overview panels A10/A11/A16/A17 and the box plots A12/A13 do the same. Distinguishing that many series by hue alone is hard for readers with colour vision deficiency and in greyscale. Pair each series with a distinct marker or line style, or draw from a colourblind-safe qualitative palette (for example Okabe-Ito, which supports up to eight categories), and consider whether every baseline needs its own line in a single panel. Figure 2 already does this well with circles, triangles and squares, so the fix is to extend that practice.</p>
  </list-item>
  <list-item>
    <p>[visualisation] Figure 1 identifies five algorithm regions (Temme, continued fractions, large-argument, large-order, Levin) plus hatched fused-exponent assembly by fill colour. The in-panel text labels help, but verify the region fills are distinguishable for colourblind readers and in print, since the hatching for fused-exponent assembly is the only non-colour encoding. The same applies to Figures A1, A8 and A9.</p>
  </list-item>
  <list-item>
    <p>[writing-quality] A few phrasings sit below the register of the surrounding prose: “the conversion from Kν to Mν remains unfortunate” (Section 4.2 and again near Figures A8/A9) and “As a tiny step in this direction” (Section 6). Restating these in neutral terms would match the rest of the paper.</p>
  </list-item>
  <list-item>
    <p>[software-landscape] scipy.special.kv (the Cephes-derived evaluator behind scikit-learn’s Matern kernel, GPy and GPyTorch) is the dominant Matern/Bessel implementation in the Python and machine-learning ecosystem and is absent from the CPU baselines. Adding it as one further CPU comparator on the existing eight datasets, or stating in Section 4.2 why the C/C++/Julia set already represents the fastest available evaluators, would close the one remaining gap in an otherwise complete landscape. The paper stands without it.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 1] Foreground the non-finite result: the Bessels.jl and Boost ports return roughly 12% non-finite covariances on the small-z set and 32% on the large-ν set, while libmatern returns none (Table B6). This is the clearest consequence for a practitioner and currently sits only in an appendix table.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 1] Promote the (h,ν,s) interface comparison from the Discussion, since practitioners call the function with (h,ν,s), and that is where libmatern’s accuracy edge is cleanest and least confounded by argument rounding.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 1] Make the Gaussian-process relevance concrete using Table B11, with a short estimate of the covariance-evaluation share of a likelihood loop where ν is estimated.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 2] Report the speedup distribution or median across the size ladder alongside the maximum, since the abstract leads with the most favourable single point.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 2] State the compiler optimisation flags and FMA-contraction settings used for the accuracy builds and the timing builds, which govern both the ULP figures and the runtimes.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 2] Add a determinism attestation for the SIMD and GPU reduction orders and a single command that reproduces the benchmark tables, and point to the captured environment.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 2] Clarify in Table 3 how the N=2^25 column relates to the stated batch of calls on blocks of 2^22, 2^22, 2^23 and 2^24 points.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 3] report dispersion for the headline timing tables, so a reader can judge whether a reproduced number falls within run-to-run variation.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 3] provide a map from each table and figure to the command that regenerates it.</p>
  </list-item>
</list>
<p><sc>optional</sc>:</p>
<list list-type="bullet">
  <list-item>
    <p>[methods-soundness] Primary CPU results come from one AMD part with one Intel part for comparison, and GPU results from a single A100. Section 6 already notes this. A multi-architecture study (other AVX-512 microarchitectures, a consumer GPU) would show how far the routing boundaries and speedups transfer, and can be left to later work.</p>
  </list-item>
  <list-item>
    <p>[visualisation] In the dense scatter overviews (A10, A11, A16, A17) the median-to-maximum “arrow” spanning each series and the hatched off-scale band at the top carry a lot of information in a small space. A short worked reading of one panel in the caption, or slightly larger panels, would make these easier to parse. The paper stands without this.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 1] A small end-to-end demonstration inside a real GP estimation loop would settle how the pointwise gains translate to inference wall-clock.</p>
  </list-item>
  <list-item>
    <p>[Reviewer 2] Measurements on further CPU and GPU architectures would show how far the speedups carry beyond the EPYC 9454 and the A100.</p>
  </list-item>
</list>
<p>We will correct these in production, and you confirm them in the proof:</p>
<list list-type="bullet">
  <list-item>
    <p>[writing-quality] The figure captions for A8 and A9 read “Dependence of the maximum ULP error in dependance of the covariance-assembly strategy”, which both repeats “dependence/dependance” and misspells the second instance. The same “in dependance of” appears in the caption of A15. Consider “as a function of” in all three.</p>
  </list-item>
  <list-item>
    <p>[writing-quality] In Section 3, “Mν(h)→ 0 as h = +∞” should read “as h → +∞”.</p>
  </list-item>
</list>
</body>
</sub-article>
<sub-article id="pr-r1-report1" article-type="reviewer-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r1.report1</article-id>
<title-group>
<article-title>Report Reviewer 1, round 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<collab>JRepStat review engine</collab>
<role specific-use="reviewer" content-type="reviewer-1">Reviewer 1</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="reviewer-report-received">
<event-desc>Reviewer report received</event-desc>
<date iso-8601-date="2026-10-30"><day>30</day><month>10</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>0</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>minor-revision</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><italic>Written by the journal&#x27;s review engine in the role of the application reviewer, and read by the editor before the decision. How the engine works is on the <ext-link ext-link-type="uri" xlink:href="https://jrepstat.fairpressjournals.com/about/peer-review/">peer review page</ext-link>.</italic></p>
<p>Recommendation: minor.</p>
<p>This is a careful and unusually well-documented software paper on a problem that genuinely recurs in spatial statistics and Gaussian-process work. The Matérn covariance is evaluated enormous numbers of times when a covariance matrix is assembled, and the cost grows when the smoothness parameter is estimated and the matrix is rebuilt across optimisation steps. The authors target exactly that kernel and are explicit that they do not target the full inference pipeline. The core idea, folding the complete Matérn prefactor into each numerical representation of Kν so the intermediate (z/2)^ν and 1/Γ(ν) factors never separately under- or overflow, is sound and directly addresses a failure mode that practitioners hit in real parameter ranges.</p>
<p>The strongest application result is not the speed, it is the robustness. Table B6 shows that the Bessels.jl and Boost ports produce non-finite covariances on about 12% of the small-z set and about 32% of the large-ν set, while libmatern returns finite values throughout. A spatial model with large smoothness, or with sites at small separation relative to the scale, would receive NaN or Inf covariances from standard libraries, and a user would then be debugging a factorisation failure with no obvious cause. This result deserves a sentence in the abstract and the introduction rather than its current place in an appendix table. It is the finding most likely to change what a practitioner installs.</p>
<p>The performance claims are honestly hedged, and I want the hedging carried into the headline numbers. The 6.6× CPU figure is a maximum at the largest batch, measured on the random mixture that Table B5 describes as chosen to exercise routing regions, with the explicit note that it was not fitted to observed covariance parameters. An application reader scanning the abstract will read 6.6× as the gain to expect, when the common fixed-half-integer case (ν = 2.5, so Matérn-5/2) runs on the dedicated polynomial path with a far larger factor, and a single-region workload will differ again. Please state a typical value next to the maximum and name the benchmark nature in the abstract. On the GPU side the paper already does the right thing by reporting the end-to-end median of 1.1×, which tells the reader plainly that once host-device transfer is counted the practical GPU benefit over existing GPU libraries is small and the real GPU value is kernel accuracy and finiteness. That candour is welcome.</p>
<p>On accuracy, the per-dataset picture in Table 2 is more textured than “competitive or improved” suggests at a glance. On the grid and random sets, which are the broad coverage sets closest to a general parameter sweep, Boost reaches lower median and maximum errors than the AVX-512 backend. The paper states this in Section 5.2, so there is no inconsistency, and I note it only so the framing matches the evidence: the accuracy advantage is clearest in the stress regimes (small z, large ν) and in the (h,ν,s) interface, while in the broad regimes accuracy is competitive and the win is throughput and finiteness. The (h,ν,s) analysis in Section 6 is, from an application standpoint, the most useful comparison in the paper, because users pass physical distance, scale and smoothness, not a pre-rounded z, and the argument that external libraries lose accuracy to that rounding is a real interface point. It should not be buried at the end.</p>
<p>The one substantive gap for my role is the step from pointwise covariance accuracy to inference. The authors say clearly that pointwise accuracy need not imply stability in covariance-matrix factorisation or in the downstream likelihood, and they flag it for future work. I accept that scoping. The paper would still be more convincing to its intended audience with a short, cheap bridge using the material already present: Table B11 already counts the evaluations needed to build a matrix, so a back-of-envelope of what fraction of a varying-ν estimation loop those evaluations occupy would let a reader judge where a 6.6× (or 72×) kernel gain actually lands in end-to-end time. A full GP demonstration is more than this paper needs and I mark it optional.</p>
<p>Numbered suggestions to the authors:</p>
<list list-type="order">
  <list-item>
    <p><sc>required</sc> In the abstract and in Section 5.3, report a typical CPU speedup (for example a median across datasets or at a representative batch size) next to the maximum 6.6×, and state that the random benchmark mixture (Table B5) is constructed to cover routing regions, so the headline figure is a benchmark maximum and not a workflow expectation.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Move the finiteness result forward: state in the abstract and introduction that common libraries return roughly 12% non-finite values on the small-z set and 32% on the large-ν set (Table B6), while libmatern returns none, and explain the application consequence for covariance-matrix assembly.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Promote the (h,ν,s) interface comparison from Section 6 to the main results, and make clear there that the headline (z,ν) numbers compare numerical methods while (h,ν,s) compares the interface a practitioner actually uses.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Add a short estimate, built on Table B11, of the share of a likelihood-estimation loop (with ν estimated, so the matrix is rebuilt each step) that covariance evaluation occupies, so readers can place the kernel speedups in inference wall-clock terms.</p>
  </list-item>
  <list-item>
    <p><sc>optional</sc> An end-to-end demonstration inside a real Gaussian-process estimation loop, reporting the covariance-assembly share against factorisation, would settle the practical-benefit question for the paper’s intended audience.</p>
  </list-item>
</list>
</body>
</sub-article>
<sub-article id="pr-r1-report2" article-type="reviewer-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r1.report2</article-id>
<title-group>
<article-title>Report Reviewer 2, round 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<collab>JRepStat review engine</collab>
<role specific-use="reviewer" content-type="reviewer-2">Reviewer 2</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="reviewer-report-received">
<event-desc>Reviewer report received</event-desc>
<date iso-8601-date="2026-10-30"><day>30</day><month>10</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>0</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>minor-revision</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><italic>Written by the journal&#x27;s review engine in the role of the methodology reviewer, and read by the editor before the decision. How the engine works is on the <ext-link ext-link-type="uri" xlink:href="https://jrepstat.fairpressjournals.com/about/peer-review/">peer review page</ext-link>.</italic></p>
<p>Recommendation: minor.</p>
<p>This is a careful numerical paper. The core methodological idea, folding the full Matérn prefactor into the series and asymptotic representations of K_ν so that the intermediate (z/2)^ν and 1/Γ(ν) factors never form on their own, is well motivated by the underflow and overflow behaviour set out in Section 2.1, and the derivations in Sections 2.2 and 2.3 are presented in enough detail to follow. The accuracy methodology is the strongest part. High-precision references from FLINT/Arb enclosed to at least 110 bits, stored as two binary64 components, with the ULP metric of Equation 35 and an explicit check that rlo quantisation below 2^-972 does not move the reported maxima, is the right way to measure these errors. The treatment of the baselines is fair in a way that works against the authors’ own headline: three assembly strategies per external library, the finite-result-then-lowest-max-ULP selection rule, and separately prepared modified variants of CuBesselK and Boost. That is the conservative choice and it is the correct one.</p>
<p>My reservations are about the reporting of the timing results rather than the numerical methods. The timing protocol gives two warm-ups and 25 repetitions on an exclusive node with an invariant TSC, but the text does not say which statistic over those 25 repetitions becomes the per-element cost in Tables 3, 4 and B10, nor does it report any dispersion. For a benchmarking paper the summary statistic (median, minimum, mean) and its spread are part of the claim, because a 6.6x ratio formed from two unstated point estimates cannot be read for stability. Please state the statistic and add a spread, which the 25 repetitions already contain.</p>
<p>The abstract leads with a maximum speedup. A maximum over the size ladder is the single most favourable operating point, and the per-dataset tables show the end-to-end GPU picture is much flatter (median 1.1x, range 1.00x to 1.81x), which the paper reports plainly. Carrying the same honesty into the CPU headline, by giving the median or the distribution of the speedup across ladder sizes next to the maximum, would make the summary match the body.</p>
<p>Two further items affect whether a reader can reconstruct the numbers. Compiler optimisation flags and FMA contraction settings change both accuracy and runtime, and the distinction between matched and matched_fma shows the authors know this, yet the flags themselves are not stated in the text. And since the ULP tables are exact down to single points, run-to-run determinism of the SIMD and GPU reductions is part of what is being claimed, so a short determinism attestation plus one reproduction command would let the journal verify the tables against the archived data. The environment in Table B7 already covers most of what is needed.</p>
<p>The scope limits are stated well in Section 6: pointwise accuracy rather than full Gaussian-process pipelines, and benchmark datasets that are not claimed to match application parameter distributions. The one scope point I would add is hardware. The speedups rest on one primary CPU and one GPU, and how they transfer to other SIMD widths and GPU generations is open. That is beyond this paper and is marked optional.</p>
<p>Numbered suggestions to the authors:</p>
<list list-type="order">
  <list-item>
    <p><sc>required</sc> State which summary statistic over the 25 repetitions the per-element costs in Tables 3, 4 and B10 report, and add a dispersion measure (for example an interquartile range or a min-to-max band) for the reported speedups.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Report the median or the distribution of the CPU speedup across the size ladder next to the maximum, so the abstract headline reflects typical behaviour and not only the best operating point.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> State the compiler optimisation flags and the FMA-contraction setting used for the accuracy builds and the timing builds.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Add a determinism attestation for the SIMD and GPU reduction orders and a single command that regenerates the benchmark tables from the archived arrays, with a pointer to the captured environment.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Clarify in the Table 3 caption how the N=2^25 column relates to the stated sequence of calls on blocks of 2^22, 2^22, 2^23 and 2^24 points.</p>
  </list-item>
  <list-item>
    <p><sc>optional</sc> Measurements on additional CPU and GPU architectures would show how far the reported speedups extend beyond the EPYC 9454 and the A100.</p>
  </list-item>
</list>
</body>
</sub-article>
<sub-article id="pr-r1-report3" article-type="reviewer-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r1.report3</article-id>
<title-group>
<article-title>Report Reviewer 3, round 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<collab>JRepStat review engine</collab>
<role specific-use="reviewer" content-type="reviewer-3">Reviewer 3</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="reviewer-report-received">
<event-desc>Reviewer report received</event-desc>
<date iso-8601-date="2026-10-30"><day>30</day><month>10</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>0</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>minor-revision</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><italic>Written by the journal&#x27;s review engine in the role of the software reviewer, and read by the editor before the decision. How the engine works is on the <ext-link ext-link-type="uri" xlink:href="https://jrepstat.fairpressjournals.com/about/peer-review/">peer review page</ext-link>.</italic></p>
<p>Recommendation: minor.</p>
<p>This is a careful piece of numerical software work, and from a reproducibility standpoint it starts from a strong position. The inputs are fixed binary64 arrays archived on Zenodo, the high-precision references are computed with FLINT/Arb to at least 110 bits and stored as two binary64 components, and the accuracy metric is defined explicitly in Equation (35) down to the nextafter call. Because the benchmark points are frozen and the references are archived, the accuracy tables are in principle exactly reproducible, which is more than most benchmarking papers in this area offer. The baseline handling is also unusually fair: versions are named, the Kν-to-Matérn assembly is selected per dataset to avoid handicapping external libraries, and the non-finite counts are tabulated rather than hidden. The end-to-end GPU result of 1.1× median, set against kernel speedups up to 6.8×, is reported plainly, and Table B6 and Figures A8 and A9 make the failure behaviour of competitors legible. I did not run a reproduction in this pass, so the comments below concern what the manuscript and the declared artifacts let a reader verify.</p>
<p>My main reproducibility concern is the build environment behind the ULP numbers. ULP distances for SIMD and FMA kernels are sensitive to compiler optimisation level, target architecture flags, and floating-point contraction settings. Table B7 gives compilers, toolkit, driver and hardware, which is good, and the matched and matched_fma backends show you are aware that FMA changes the result. What I cannot find is the exact flag set (optimisation level, -march, the contraction policy) that the reported numbers were produced under. For a software paper that ships code with its results, a captured and pinned build configuration plus a short attestation that a repeat run reproduces the reported ULP and timing values is the reproducibility floor. If the repository already contains the build scripts, the ask reduces to naming them in the paper and stating the determinism result.</p>
<p>A second verifiability gap is specific and the manuscript names it itself: the kaust-modified results depend on upstream CuBesselK source that is downloaded separately and not redistributed, with changes applied by a script. Without a pinned version or commit for that upstream, and for the other baselines, the modified-baseline comparisons drift the moment upstream moves. Recording the exact commit hashes closes this and costs almost nothing.</p>
<p>Third, the headline framing. The abstract leads with “maximum 6.6× speedup”, and the CPU result in Section 5.3 is likewise a maximum at a single N and workload. A maximum is the least reproducible summary a benchmark can report, since it is the most sensitive to run-to-run noise and to the choice of comparison point. Please state what the maximum is taken over and report the representative CPU speedup next to it, or qualify the sentence to say it is a best case. The GPU tables already give per-dataset figures and a median, which is the right pattern. Relatedly, Tables 3 and 4 give point estimates with no spread, although the timing protocol uses 25 repetitions. Reporting an interquartile range or a min and max for the headline rows would let a reader decide whether a reproduced value is consistent with yours, and the box plots in Figures A5 and A12 show you already have the machinery to do it.</p>
<p>None of this touches the correctness of the mathematics or the honesty of the reporting, both of which read well. The asks are about letting a second person stand up the same numbers from the artifacts you have.</p>
<p>Numbered suggestions to the authors:</p>
<list list-type="order">
  <list-item>
    <p><sc>required</sc> Record in the paper, or name the file in the repository that records, the exact build configuration the ULP and timing results were produced under, including optimisation level, target-architecture flags and the floating-point contraction policy for each backend. Add one sentence attesting that a repeat run reproduces the reported ULP values and timings on the stated hardware.</p>
  </list-item>
  <list-item>
    <p><sc>required</sc> Pin the exact version or commit hash of the CuBesselK upstream that the modification script targets, given that the source is not redistributed, and likewise pin the exact releases or commits of Boost, GSL, libstdc++ and both Bessels.jl ports used.</p>
  </list-item>
  <list-item>
    <p><sc>required</sc> State what population the “maximum 6.6×” CPU speedup is taken over, and report the representative (for example median) CPU speedup alongside it, or qualify the abstract and Section 5.3 sentence to present it as a best-case figure.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Add a dispersion measure (interquartile range, or min and max over the 25 repetitions) to the headline timing rows in Tables 3 and 4, so a reader can place a reproduced timing against your run-to-run spread.</p>
  </list-item>
  <list-item>
    <p><sc>recommended</sc> Provide a short table or script mapping each manuscript table and figure to the exact command that regenerates it from the archived inputs.</p>
  </list-item>
  <list-item>
    <p><sc>optional</sc> A run on a second GPU and a third CPU microarchitecture would indicate how far the empirically chosen routing boundaries and the reported speedups transfer beyond the two tested machines.</p>
  </list-item>
</list>
</body>
</sub-article>
<sub-article id="pr-r1-response" article-type="author-comment">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r1.response</article-id>
<title-group>
<article-title>Authors&#x27; response, round 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<string-name>Daniel Mann</string-name>
<role specific-use="author">Author</role>
</contrib>
<contrib contrib-type="author">
<string-name>Matthis Ehrhardt</string-name>
<role specific-use="author">Author</role>
</contrib>
<contrib contrib-type="author">
<string-name>Martin Schlather</string-name>
<role specific-use="author">Author</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="author-comment-received">
<event-desc>Author comment received</event-desc>
<date iso-8601-date="2026-11-06"><day>06</day><month>11</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13.r1.letter" document-id-type="doi" document-type="editor-report"/>
<related-object document-id="10.68365/jrepstat.2026.13.r1.report1" document-id-type="doi" document-type="reviewer-report"/>
<related-object document-id="10.68365/jrepstat.2026.13.r1.report2" document-id-type="doi" document-type="reviewer-report"/>
<related-object document-id="10.68365/jrepstat.2026.13.r1.report3" document-id-type="doi" document-type="reviewer-report"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>0</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>Authors confirm each required point as done or give their reason for declining it. Further answers are voluntary, because the review compares every revision with the previous version and the next round&#x27;s reports say what remains open.</p>
<p>In the revised manuscript, the timing tables report medians of 25 repetitions with interquartile ranges, and the captions give speedup bounds obtained by pairing opposite quartiles of the two implementations. The CPU headline is given together with its range over datasets and batch sizes, and the build configuration, determinism, upstream versions and the block timing of the size ladders are documented. The non-finite results and the (h, ν, s) comparison are now part of the main results, the figures use a colour-blind-safe palette, Table B13 maps every table and figure to the command that regenerates it, and scipy.special.kv was evaluated as a further CPU comparator. Section 6 estimates the covariance-evaluation share of a likelihood evaluation.</p>
<list list-type="simple">
<list-item>
<p><sc>required</sc> The timing tables (Table 3, Table 4, Table B10) report a single &quot;ns/value&quot; for each method, and the speedup claims rest entirely on these numbers, but the central tendency (mean, median) and the spread across the 25 measured repetitions are not stated. Please name the statistic used and add a measure of spread from the runs you already have, or qualify the speedup figures as point estimates from a single summary. Figure A5 already shows IQR and whiskers for the transfer strategies, so the same can be given for the headline comparisons.</p>
<p><bold>Done.</bold> All reported costs are now stated to be medians of 25 measured repetitions after two warm-up calls, and Tables 3, 4 and B10 give interquartile ranges (IQR) of the timings in per cent of the median. Section 4.4 defines speedup bounds, which pair the lower quartile of one implementation with the upper quartile of the other; the captions state that they differ from the speedups by less than 0.2% on the CPU (Table 3) and by at most 0.12 (kernel) and 0.02 (end-to-end) on the GPU.</p>
</list-item>
<list-item>
<p><sc>required</sc> The abstract and Section 5.3 headline the CPU gain as the maximum 6.6×, drawn from the random mixture that Table B5 states was built to cover routing regions, not application workloads. Report a typical CPU speedup alongside the maximum and name the benchmark nature, so an application reader does not expect 6.6× in their own pipeline.</p>
<p><bold>Done.</bold> The abstract and Section 5.3 now present 6.6× as the single-threaded speedup for a synthetic random mixture of 2^25 evaluations and report, alongside it, the range over the eight benchmark datasets (3.9× to 21×, median 7.5×). Section 5.3 adds the range over batch sizes and the value for fixed ν = 2.5, and states that the random mixture was designed to cover the routing regions (Table B5), so that speedups in applications depend on their parameter distribution and batch sizes.</p>
</list-item>
<list-item>
<p><sc>required</sc> State which summary statistic over the 25 repetitions the per-element costs in Tables 3, 4 and B10 report, and give a dispersion measure for the headline speedups, so the numbers are interpretable.</p>
<p><bold>Done.</bold> See above.</p>
</list-item>
<list-item>
<p><sc>required</sc> record the exact build configuration the reported ULP and timing numbers depend on, and attest that a repeat run reproduces them.</p>
<p><bold>Done.</bold> Section 4.4 and Table B7 now give the compilers, optimisation levels, instruction-set flags and floating-point contraction settings for every backend and for the CUDA code; all results were computed with libmatern 0.9.5 at commit e370401. Each point is evaluated independently, so its result does not depend on batch composition, order or thread count; accordingly, the per-point outputs are byte-identical on both CPUs and across separate rebuilds within the CPU and GPU runs. A repeat of all nine runs at the same commit, on other nodes of the same types, reproduced every accuracy statistic exactly; the median costs of at least 98% of the timing rows on each machine agreed within ±10%, with larger differences for very short GPU kernels, in host–device transfers and at a few individual points (Section 4.4).</p>
</list-item>
<list-item>
<p><sc>required</sc> pin the exact upstream version or commit of CuBesselK, and of every baseline, that the modification script and the ports target, since the manuscript states the CuBesselK source is downloaded separately and not redistributed.</p>
<p><bold>Done.</bold> Table B12 lists the upstream version or commit of every baseline and the packages used in the reported runs. CuBesselK has no tagged release; the modification script downloads its two source files at commit 94ec9ca and checks them against SHA-256 digests (Section 4.2). The bibliography entries for CuBesselK and the Bessels.jl main branch point to the pinned commits.</p>
</list-item>
<list-item>
<p><sc>required</sc> state what the headline &quot;maximum 6.6× speedup&quot; is taken over, and give the representative CPU speedup beside it, or qualify the abstract to call it a best case.</p>
<p><bold>Done.</bold> The word “maximum” has been removed. The abstract and Section 5.3 now state that 6.6× is the speedup of the AVX-512 implementation over the fastest external implementation at N = 2^25 on the random mixture. It is also the median over the 18 batch sizes of the ladder (range 2.2× to 6.8×) and therefore not an exceptionally best case; representative values are given as described under REQ-02.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> The speedup factors are ratios of two measured timings, so their uncertainty is larger than that of either timing alone, and a ratio near 1.00× (the grid end-to-end entry in Table 4) may be compatible with no difference once variability is included. State the central speedup with the range implied by the measured timing spread, so a reader can see which crossovers and which near-unity ratios are resolved by the data and which are not.</p>
<p><bold>Done.</bold> The captions of Tables 3, 4 and B10 now give the speedup bounds defined in Section 4.4, which pair the lower quartile of one implementation with the upper quartile of the other; only those of the grid end-to-end ratio (0.99 to 1.01) include parity. For both GPU– CPU crossovers, the interquartile ranges of the GPU and CPU costs at the ladder sizes on either side do not overlap (Section 5.4).</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Figures A4, A10, A11, A14 and A15 separate nine or ten implementations, and the overview panels A10/A11/A16/A17 and the box plots A12/A13 do the same. Distinguishing that many series by hue alone is hard for readers with colour vision deficiency and in greyscale. Pair each series with a distinct marker or line style, or draw from a colourblind-safe qualitative palette (for example Okabe-Ito, which supports up to eight categories), and consider whether every baseline needs its own line in a single panel. Figure 2 already does this well with circles, triangles and squares, so the fix is to extend that practice.</p>
<p><bold>Done.</bold> All figures were revised. They use the Okabe–Ito palette, with the AVX-512 and CUDA implementations of libmatern in vermillion, and distinguish the implementations additionally by marker; in the line plots (Figures A4, A14 and A15), library backends are drawn with solid and external implementations with dashed lines, and the rows of the box plots (Figures A12 and A13) are labelled by name. To reduce the number of series per panel, Figures A4 and A15 omit the scalar backend and Boost (their costs are in Table 3), Figure A14 omits the scalar and matched+FMA backends, and Figures A10–A13 omit kaust-40, whose maximum error exceeds 10^6 ULP on every dataset; the captions state where the omitted series lie.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Figure 1 identifies five algorithm regions (Temme, continued fractions, large-argument, large-order, Levin) plus hatched fused-exponent assembly by fill colour. The in-panel text labels help, but verify the region fills are distinguishable for colourblind readers and in print, since the hatching for fused-exponent assembly is the only non-colour encoding. The same applies to Figures A1, A8 and A9.</p>
<p><bold>Done.</bold> In Figures 1 and A1, every region now carries an in-panel label, so the regions remain identifiable in greyscale. In addition to the hatched fused-exponent assembly, the Temme region (Figure 1) and the power-series region (Figure A1) are dotted, and the borders in Figure 1 are distinguished by line style. In Figures A8 and A9, the assemblies differ by fill and hatching (direct: solid, logarithmic: hatched, scaled: dotted), and the libmatern value is a dashed line.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> A few phrasings sit below the register of the surrounding prose: &quot;the conversion from Kν to Mν remains unfortunate&quot; (Section 4.2 and again near Figures A8/A9) and &quot;As a tiny step in this direction&quot; (Section 6). Restating these in neutral terms would match the rest of the paper.</p>
<p><bold>Done.</bold> Both phrasings were revised: “remains unfortunate” now reads “remains a source of error”, and the paragraph beginning “As a tiny step” was moved to Section 5.2 and rewritten</p>
</list-item>
<list-item>
<p><sc>recommended</sc> scipy.special.kv (the Cephes-derived evaluator behind scikit-learn&#x27;s Matern kernel, GPy and GPyTorch) is the dominant Matern/Bessel implementation in the Python and machine-learning ecosystem and is absent from the CPU baselines. Adding it as one further CPU comparator on the existing eight datasets, or stating in Section 4.2 why the C/C++/Julia set already represents the fastest available evaluators, would close the one remaining gap in an otherwise complete landscape. The paper stands without it.</p>
<p><bold>Done.</bold> A clarification: SciPy documents scipy.special.kv as a wrapper of Amos’s routine zbesk (ACM TOMS Algorithm 644), not as Cephes-derived. It is the evaluator behind scikitlearn’s Matern kernel for orders other than 1/2, 3/2 and 5/2, whereas GPyTorch and GPy evaluate closed forms for these orders. We have evaluated scipy.special.kv on the eight datasets. To compare the evaluator rather than the Python layer, we compiled the C++ code that kv and kve of SciPy 1.18.1 call, unchanged, into the benchmark harness; without floating-point contraction it reproduces SciPy’s values bit for bit. It was assembled, selected, scored and timed like the other external implementations, on the Intel host. SciPy returns non-finite values on 12.4% of the small-z and 32.7% of the large-ν points in every assembly, similar to the Bessels.jl ports and Boost. On the other six datasets its maximum error is 186 to 1458 ULP, against 10.4 to 22.4 ULP for libmatern. With 256 to 607 ns per value it ranks third to fifth among the nine external CPU implementations and is 1.9 to 5.4 times slower than the fastest of them on every dataset, so none of the reported speedups changes. Its only effect on the summary statistics would be a lower external maximum on the half-integer set (907 instead of GSL’s 1248 ULP). Section 4.2 now states these results.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Foreground the non-finite result: the Bessels.jl and Boost ports return roughly 12% non-finite covariances on the small-z set and 32% on the large-ν set, while libmatern returns none (Table B6). This is the clearest consequence for a practitioner and currently sits only in an appendix table.</p>
<p><bold>Done.</bold> Section 5.2 now gives the shares of non-finite results (about 12% on the small-z set and 32% on the large-ν set) and notes that such values propagate into any covariance matrix assembled from them. We report this result in Section 5.2 rather than in the abstract and introduction because finite output is not specific to libmatern on these sets: GSL and the modified CuBesselK port also return finite values throughout.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Promote the (h,ν,s) interface comparison from the Discussion, since practitioners call the function with (h,ν,s), and that is where libmatern&#x27;s accuracy edge is cleanest and least confounded by argument rounding.</p>
<p><bold>Done.</bold> The (h, ν, s) comparison has been moved from Section 6 to Section 5.2, which now states that the (z, ν) results compare the numerical methods and the (h, ν, s) results the interface that applications call.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Make the Gaussian-process relevance concrete using Table B11, with a short estimate of the covariance-evaluation share of a likelihood loop where ν is estimated.</p>
<p><bold>Done.</bold> Section 6 now contains this estimate. In the non-stationary setting of Table B11, a dense Gaussian likelihood on n = M^2 sites requires E ≈ M^4/2 covariance values per iteration, all of which change when ν is estimated, and a Cholesky factorisation of about n^3/3 operations. With the measured costs per value (Table 3) and assumed single-core factorisation rates of 30 to 70 GFLOP/s, covariance evaluation takes 93 to 97% of an iteration atM = 23 and 46 to 66% atM = 91 with the fastest external implementation, against 67 to 82% and 11 to 23% with libmatern; a likelihood iteration thus becomes about 4.7 to 5.6 and 1.6 to 2.3 times faster. In the stationary settings of Table B11, the evaluation share of a dense likelihood is negligible.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Report the speedup distribution or median across the size ladder alongside the maximum, since the abstract leads with the most favourable single point.</p>
<p><bold>Done.</bold> Section 5.3 now reports the speedup over all 18 batch sizes of the ladder (2.2× at N = 256 to 6.8× at N = 2^16) and its median (6.6×), which equals the value at N = 2^25 quoted in the abstract.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> State the compiler optimisation flags and FMA-contraction settings used for the accuracy builds and the timing builds, which govern both the ULP figures and the runtimes.</p>
<p><bold>Done.</bold> Section 4.4 and Table B7 now state the optimisation level, instruction-set flags and floating-point contraction for each library backend (-O2 -ffp-contract=fast; -mfma for AVX2, AVX-512 and matched+FMA), for the baselines (-march=native -O2) and for the CUDA code (-O2 -arch=sm_80, default FMA contraction). Accuracy and timings of each implementation are obtained with the same executable on the same points.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Add a determinism attestation for the SIMD and GPU reduction orders and a single command that reproduces the benchmark tables, and point to the captured environment.</p>
<p><bold>Done.</bold> Section 4.4 now attests determinism: each point is evaluated by one SIMD lane or one CUDA thread without reductions across points, which the test suite checks bit for bit, and the per-point outputs are byte-identical on both CPUs and across rebuilds. The run directories are attached to release v0.9.6 (libmatern-0.9.6-runs.tar.gz); with the code of release v0.9.6, make figures and make tables regenerate the figures and tables of the revised manuscript from them, and make reproduce repeats the benchmarks. Each run directory records its environment in PROVENANCE.txt and MANIFEST.txt.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> Clarify in Table 3 how the N=2^25 column relates to the stated batch of calls on blocks of 2^22, 2^22, 2^23 and 2^24 points.</p>
<p><bold>Done.</bold> Section 4.3 now describes how the size ladders are timed: sizes up to 2^21 as single calls, larger sizes from one pass over consecutive blocks of 2^22,  22^3 and 22^4 points, so that the value at N = 2^25 is the time for all four blocks divided by 2^25. The captions of Table 3 and Figures A3 and A4 now refer to this description.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> report dispersion for the headline timing tables, so a reader can judge whether a reproduced number falls within run-to-run variation.</p>
<p><bold>Done.</bold> See Required-01.</p>
</list-item>
<list-item>
<p><sc>recommended</sc> provide a map from each table and figure to the command that regenerates it.</p>
<p><bold>Done.</bold> Table B13 maps each generated table and figure, now including Figures 1 and A1, to the generated file and to the command (make figures or make tables) that regenerates it from the run directories of release v0.9.6. The generating code is part of release v0.9.6; the versions in the paper can differ from the generated files in caption, cropping and styling.</p>
</list-item>
<list-item>
<p><sc>optional</sc> Primary CPU results come from one AMD part with one Intel part for comparison, and GPU results from a single A100. Section 6 already notes this. A multi-architecture study (other AVX-512 microarchitectures, a consumer GPU) would show how far the routing boundaries and speedups transfer, and can be left to later work.</p>
<p><bold>Declined.</bold> We agree that measurements on further architectures would show how far the routing boundaries and speedups transfer. This is beyond the scope of the present paper; the benchmark suite (make reproduce) supports such runs on other hardware.</p>
</list-item>
<list-item>
<p><sc>optional</sc> In the dense scatter overviews (A10, A11, A16, A17) the median-to-maximum &quot;arrow&quot; spanning each series and the hatched off-scale band at the top carry a lot of information in a small space. A short worked reading of one panel in the caption, or slightly larger panels, would make these easier to parse. The paper stands without this.</p>
<p><bold>Done.</bold> The caption of Figure A10 now includes a worked reading of one panel; the captions of the other overview figures refer to it.</p>
</list-item>
<list-item>
<p><sc>optional</sc> A small end-to-end demonstration inside a real GP estimation loop would settle how the pointwise gains translate to inference wall-clock.</p>
<p><bold>Declined.</bold> Section 6 now estimates the share of covariance evaluation against the factorisation in a likelihood iteration (see Recommended-08). We feel that a complete estimation loop, whose runtime also depends on the optimiser and the number of iterations, is beyond the scope of this paper.</p>
</list-item>
<list-item>
<p><sc>optional</sc> Measurements on further CPU and GPU architectures would show how far the speedups carry beyond the EPYC 9454 and the A100.</p>
<p><bold>Declined.</bold> See Optional-01.</p>
</list-item>
</list>
<supplementary-material id="pr-r1-letter-file" xlink:href="libmatern-fast-and-accurate-mat-rn-covariance-evaluation-on-simd-cpus-and-cuda-gpus-response-round1.pdf" mimetype="application" mime-subtype="pdf">
<caption>
<p>The authors' full response letter to round 1, as uploaded.</p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article id="pr-r2-letter" article-type="editor-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r2.letter</article-id>
<title-group>
<article-title>Decision letter, round 2</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-8638-5276</contrib-id>
<string-name>Matthias Templ</string-name>
<role specific-use="editor">Editor</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="editor-decision-sent">
<event-desc>Editor decision sent</event-desc>
<date iso-8601-date="2026-11-14"><day>14</day><month>11</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>1</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>accept</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><bold>Accepted.</bold> Signed by Matthias Templ on 2026-11-14.</p>
<p>Final acceptance of version 2, after the editor read the preview of the article. All 736 printed values reproduce from the authors’ run records. Timings, AVX-512 and GPU accuracy were not re-run, for want of such hardware.</p>
<p>Congratulations, your manuscript has been accepted for publication in JRepStat. Production begins now.</p>
<p>Where it is not on file yet, we still need the following for production.</p>
<list list-type="bullet">
  <list-item>
    <p>a valid ORCID iD for every author</p>
  </list-item>
  <list-item>
    <p>a captured computational environment (dependencies/lockfile/container)</p>
  </list-item>
  <list-item>
    <p>a signed determinism attestation for the entry-point command</p>
  </list-item>
</list>
</body>
</sub-article>
<sub-article id="pr-r2-report1" article-type="reviewer-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r2.report1</article-id>
<title-group>
<article-title>Report Reviewer 1, round 2</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<collab>JRepStat review engine</collab>
<role specific-use="reviewer" content-type="reviewer-1">Reviewer 1</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="reviewer-report-received">
<event-desc>Reviewer report received</event-desc>
<date iso-8601-date="2026-11-06"><day>06</day><month>11</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>1</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>accept</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><italic>Written by the journal&#x27;s review engine in the role of the application reviewer, and read by the editor before the decision. How the engine works is on the <ext-link ext-link-type="uri" xlink:href="https://jrepstat.fairpressjournals.com/about/peer-review/">peer review page</ext-link>.</italic></p>
<p>Recommendation: accept.</p>
<p>Of the one required and four lighter points I raised, all are met or reasonably declined.</p>
<p>The required headline change is done. The abstract now gives 6.6× as the single-threaded AVX-512 speedup for the 2^25 random mixture and places the per-dataset range (3.9× to 21×, median 7.5×) beside it, with the ν = 2.5 polynomial path and the ladder range carried into Section 5.3. The word “maximum” is gone, and Section 5.3 states that the random mixture was built to cover the routing regions, so application speedups depend on the parameter distribution and batch size. An application reader now sees a representative figure, not a best case, which is what I asked for.</p>
<p>On the finiteness result, the authors declined to move it into the abstract and gave a reason I accept: on these two stress sets GSL and the modified CuBesselK port also return finite values throughout, so finiteness is not specific to libmatern there. Promoting it to the abstract would have overstated the distinction. Section 5.2 now reports the roughly 12% and 32% non-finite shares and notes their propagation into an assembled covariance matrix, which places the result where a reader meets it alongside the per-dataset accuracy. The (h,ν,s) interface comparison has moved to Section 5.2 with the clarifying sentence that (z,ν) compares numerical methods while (h,ν,s) compares the interface applications call. Both are resolved.</p>
<p>The inference bridge in Section 6 is the addition I most wanted and it reads well. The back-of-envelope using Table B11 (M^4/2 covariance values against an M^6/3 Cholesky, with 30 to 70 GFLOP/s factorisation rates) gives a covariance share of 67 to 82% at M = 23 and 11 to 23% at M = 91, against 93 to 97% and 46 to 66% with the fastest external implementation, and translates to a likelihood evaluation 4.7 to 5.6 and 1.6 to 2.3 times faster. This lets a reader see where the kernel gains land in a varying-ν estimation loop without the authors having to build a full pipeline. The decline on a complete end-to-end demonstration is reasonable for an optional item, since loop wall-clock also depends on the optimiser and iteration count.</p>
<p>Nothing is open. The scipy.special.kv comparator, the determinism attestation and the build and version pinning raised by the other reviewers are also in place and strengthen the paper for its intended audience. I recommend acceptance.</p>
<p>Numbered suggestions to the authors:</p>
<p>(none open)</p>
</body>
</sub-article>
<sub-article id="pr-r2-report2" article-type="reviewer-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r2.report2</article-id>
<title-group>
<article-title>Report Reviewer 2, round 2</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<collab>JRepStat review engine</collab>
<role specific-use="reviewer" content-type="reviewer-2">Reviewer 2</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="reviewer-report-received">
<event-desc>Reviewer report received</event-desc>
<date iso-8601-date="2026-11-06"><day>06</day><month>11</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>1</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>accept</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><italic>Written by the journal&#x27;s review engine in the role of the methodology reviewer, and read by the editor before the decision. How the engine works is on the <ext-link ext-link-type="uri" xlink:href="https://jrepstat.fairpressjournals.com/about/peer-review/">peer review page</ext-link>.</italic></p>
<p>Recommendation: accept.</p>
<p>Of the one required point and five lighter ones I raised, all but the hardware item are met, and that one was declined with a reason I accept.</p>
<p>The required point is settled well. All per-element costs are now stated as medians of 25 repetitions, Tables 3, 4 and B10 carry interquartile ranges as a percentage of the median, and Section 4.4 defines the speedup bounds by pairing opposite quartiles of the two implementations. The headline 6.6x speedup now appears beside its range and median over the ladder sizes and over the eight datasets, so the summary matches the body. The construction of the speedup bound is a sound within-run spread descriptor, and the separate between-run agreement figures (the median cost of at least 98% of rows reproducing within ±10% across nodes of the same type) answer the reproducibility side of the same question. The compiler flags, FMA-contraction settings, pinned upstream versions, determinism attestation, block-timing description for the N=2^25 column, and the table-to-command map are all in place. The scipy.special.kv comparator and the likelihood-share estimate strengthen the paper beyond what I asked.</p>
<p>The decline on measurements across further CPU and GPU architectures is reasonable. The routing boundaries and speedups are empirical and machine-dependent, the paper says so in Section 6, and the benchmark suite supports such runs on other hardware. That work belongs in a later paper, not this one.</p>
<p>I have no open points.</p>
<p>Numbered suggestions to the authors: (none)</p>
</body>
</sub-article>
<sub-article id="pr-r2-report3" article-type="reviewer-report">
<front-stub>
<article-id pub-id-type="doi">10.68365/jrepstat.2026.13.r2.report3</article-id>
<title-group>
<article-title>Report Reviewer 3, round 2</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<collab>JRepStat review engine</collab>
<role specific-use="reviewer" content-type="reviewer-3">Reviewer 3</role>
</contrib>
</contrib-group>
<pub-history>
<event event-type="reviewer-report-received">
<event-desc>Reviewer report received</event-desc>
<date iso-8601-date="2026-11-06"><day>06</day><month>11</month><year>2026</year></date>
</event>
</pub-history>
<related-object document-id="10.68365/jrepstat.2026.13" document-id-type="doi" document-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta><meta-name>peer-review-stage</meta-name><meta-value>pre-publication</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-revision-round</meta-name><meta-value>1</meta-value></custom-meta>
<custom-meta><meta-name>peer-review-recommendation</meta-name><meta-value>accept</meta-value></custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p><italic>Written by the journal&#x27;s review engine in the role of the software reviewer, and read by the editor before the decision. How the engine works is on the <ext-link ext-link-type="uri" xlink:href="https://jrepstat.fairpressjournals.com/about/peer-review/">peer review page</ext-link>.</italic></p>
<p>Recommendation: accept.</p>
<p>Of the three required points and the two lighter reproducibility points I raised, all are met, and the single optional hardware-coverage point was declined with a reason I accept.</p>
<p>On the build environment (my required point 1), Section 4.4 and Table B7 now give the compiler, optimisation level, instruction-set flags per backend and the contraction policy (-O2 -ffp-contract=fast, -mfma for the FMA backends; -march=native -O2 for baselines; -O2 -arch=sm_80 for CUDA), and the determinism attestation is concrete: each point is evaluated by one SIMD lane or one CUDA thread with no cross-point reduction, outputs are byte-identical across both CPUs and across rebuilds, a repeat of the nine runs reproduced every accuracy statistic exactly, and at least 98% of timing rows per machine agreed within ±10% with the larger differences localised to very short GPU kernels and transfers. That is the right shape for this claim, and it names where reproduction is tight and where it is not. The pinned upstream (required point 2) is now in Table B12, with the CuBesselK source pinned to commit 94ec9ca and checked against SHA-256 digests, which closes the one gap the manuscript had flagged against itself. The headline (required point 3) now reads as the AVX-512 speedup over the fastest external implementation for the random mixture at N = 2^25, reported beside the 3.9× to 21× range (median 7.5×) over the eight datasets and the 2.2× to 6.8× range over the ladder; I checked Table 3 and the arithmetic holds (156/23.7 ≈ 6.6, and 94.1/1.31 ≈ 72 for the ν = 2.5 path).</p>
<p>The two recommended items are also in: Tables 3, 4 and B10 carry IQR as a percentage of the median with speedup bounds from opposing quartiles, and Table B13 maps every table and figure to make figures or make tables run against the archived v0.9.6 run directories.</p>
<p>One point I note without an ask. The reported numbers come from libmatern 0.9.5 at commit e370401 while the regeneration tooling and run directories ship in release v0.9.6; the paper states the later commits change neither the computational sources nor the compiler flags, which resolves the mismatch for a reader standing the numbers up. From a reproducibility standpoint the paper is now in a strong position, with frozen inputs, archived high-precision references, pinned baselines, a determinism attestation and a regeneration map.</p>
<p>Numbered suggestions to the authors:</p>
<p>(none — all prior points are resolved)</p>
</body>
</sub-article>
</article>
