Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
SIMDNormalization.hpp File Reference

SIMD-accelerated integral, RDF normalization, and bin scaling routines. More...

Include dependency graph for SIMDNormalization.hpp:
This graph shows which files directly or indirectly include this file:

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::sincIntegral (const SincIntegralParams< T > &params) noexcept
 Computes a sinc-weighted integral over a range.
double correlation::math::sincIntegral (double q_magnitude, const double *integrand, const double *radial_bins, double *sinqr_scratch, std::size_t count) noexcept
 Computes a sinc-weighted integral for double precision (backward compatibility).
float correlation::math::sincIntegral (float q_magnitude, const float *integrand, const float *radial_bins, float *sinqr_scratch, std::size_t count) noexcept
 Computes a sinc-weighted integral for single precision (backward compatibility).
template<typename T>
void correlation::math::normalizeRdfBins (const RDFNormalizationParams< T > &params) noexcept
 Normalizes Radial Distribution Function (RDF) bins.
template<typename T>
void correlation::math::scaleBins (const ScaleBinsParams< T > &params) noexcept
 Scales an array by a constant factor in-place using ScaleBinsParams container.
template<typename T>
void correlation::math::scaleBins (T *arr, T scale_factor, std::size_t count) noexcept
 Scales an array by a constant factor in-place.

Detailed Description

SIMD-accelerated integral, RDF normalization, and bin scaling routines.

License
SPDX-License-Identifier: AGPL-3.0-only