.. index:: pair: namespace; quantumbridge::quadrature .. _doxid-namespacequantumbridge_1_1quadrature: namespace quantumbridge::quadrature =================================== .. toctree:: :hidden: struct_quantumbridge_quadrature_Panel.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace quadrature { // typedefs typedef long double :target:`Real`; typedef std::vector<:ref:`Real`> :target:`Value`; // structs struct :ref:`Panel`; // global variables std::array<:ref:`Real`, 8> :target:`nodes` = { .991455371120812639206854697526329L, .949107912342758524526189684047851L, .864864423359769072789712788640926L, .741531185599394439863864773280788L, .586087235467691130294144838258730L, .405845151377397166906606412076961L, .207784955007898467600689403773245L, 0.L}; std::array<:ref:`Real`, 8> :target:`kronrod` = { .022935322010529224963732008058970L, .063092092629978553290700663189204L, .104790010322250183839876322541518L, .140653259715525918745189590510238L, .169004726639267902826583426598550L, .190350578064785409913256402421014L, .204432940075298892414161999234649L, .209482141084727828012999174891714L}; std::array<:ref:`Real`, 4> :target:`gauss` = { .129484966168869693270611432679082L, .279705391489276667901467771423780L, .381830050505118944950369775488975L, .417959183673469387755102040816327L}; // global functions void :target:`accumulate`(const :ref:`Value`& value, :ref:`Real` wk, :ref:`Real` wg, :ref:`Value`& k, :ref:`Value`& g, :ref:`Value`& absolute); :ref:`Panel` :target:`finish`(:ref:`Real` left, :ref:`Real` right, const :ref:`Value`& k, const :ref:`Value`& g, const :ref:`Value`& absolute); template :ref:`Panel` :target:`panel`(:ref:`Real` left, :ref:`Real` right, const Function& function, std::size_t& evaluations); } // namespace quadrature