tfel
Loading...
Searching...
No Matches
Abs.hxx File Reference

This file declares the abs function. More...

#include <cmath>
#include <type_traits>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/TypeTraits/AbsType.hxx"
#include "TFEL/Math/Forward/General.hxx"

Classes

struct  tfel::math::AbsSum< T >
 a basic functor accumulating the absolute value of a container More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Functions

template<ScalarConcept NumericType>
TFEL_HOST_DEVICE constexpr auto tfel::math::abs (const NumericType &s) noexcept
template<ScalarConcept NumericType>
TFEL_HOST_DEVICE constexpr auto tfel::math::abs (const Complex< NumericType > &s)

Detailed Description

This file declares the abs function.

Author
Thomas Helfer
Date
13/02/2007