|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
SIMD-accelerated dot product, Debye sum, complex exponential, and Miller phase sum kernels. More...
#include "math/simd/SIMDTypes.hpp"#include "math/simd/detail/AVX2Kernels.hpp"#include "math/simd/detail/AVX512Kernels.hpp"#include "math/simd/detail/ScalarKernels.hpp"#include <cmath>

Go to the source code of this file.
Namespaces | |
| namespace | correlation |
| namespace | correlation::math |
| Defines universal mathematical and physical constants. | |
Functions | |
| template<typename T> | |
| T | correlation::math::simdDot (const T *input_a, const T *input_b, std::size_t count) noexcept |
| Computes the dot product of two array buffers. | |
| template<typename T> | |
| void | correlation::math::dotBlock (T v1x, T v1y, T v1z, const T *v2x, const T *v2y, const T *v2z, T *out_dot, std::size_t count) noexcept |
| Computes dot products between a reference vector and a block of target vectors. | |
| template<typename T> | |
| T | correlation::math::debyeSum (T q_magnitude, const T *distances, T *scratch, std::size_t count) noexcept |
| Computes the Debye scattering equation sum across distances. | |
| template<typename T> | |
| void | correlation::math::complexExpSum (T q_x, T q_y, T q_z, const T *x_s, const T *y_s, const T *z_s, std::size_t count, ComplexExpSumResult< T > &result) noexcept |
| Computes the sum of complex exponentials for a query q-vector. | |
| template<typename T> | |
| void | correlation::math::complexExpSum (const ComplexExpSumParams< T > ¶ms, ComplexExpSumResult< T > &result) noexcept |
| template<typename T = real_t> | |
| ComplexExpSumResult< T > | correlation::math::complexExpSum (T q_x, T q_y, T q_z, const T *x_s, const T *y_s, const T *z_s, std::size_t count) noexcept |
| template<typename T = real_t> | |
| ComplexExpSumResult< T > | correlation::math::complexExpSum (const MillerExpSumParams< T > ¶ms) noexcept |
| template<typename T> | |
| void | correlation::math::millerPhaseSum (const MillerPhaseSumParams< T > ¶ms, MillerPhaseSumResult< T > &result) noexcept |
| Computes the Miller phase sum across angle blocks. | |
| template<typename T = real_t> | |
| MillerPhaseSumResult< T > | correlation::math::millerPhaseSum (const MillerPhaseSumParams< T > ¶ms) noexcept |
| template<typename T> | |
| void | correlation::math::millerPhaseSum (const T *cos1, const T *sin1, const T *cos2, const T *sin2, const T *cos3, const T *sin3, std::size_t count, MillerPhaseSumResult< T > &result) noexcept |
| template<typename T = real_t> | |
| MillerPhaseSumResult< T > | correlation::math::millerPhaseSum (const T *cos1, const T *sin1, const T *cos2, const T *sin2, const T *cos3, const T *sin3, std::size_t count) noexcept |
SIMD-accelerated dot product, Debye sum, complex exponential, and Miller phase sum kernels.