Skip to content

Numerics

Damien L-G edited this page Mar 1, 2022 · 1 revision

Numerics

Common mathematical functions
The header <Kokkos_MathematicalFunctions.hpp> provides a consistent and portable overload set for standard C library mathematical functions, such as fabs, sqrt, and sin.

Mathematical special functions
Work in progress

Mathematical constants
The header <Kokkos_MathematicalConstants.hpp> is a backport of the C++20 standard library header <numbers> and provides several mathematical constants, such as pi or sqrt2.

Numeric traits
The header <Kokkos_NumericTraits.hpp> implements a new facility that is being added to the C++23 standard library and is intended as a replacement for std::numeric_limits.

Clone this wiki locally