All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces
constexpr_math.h File Reference

Mathematical functions that C++ standard doesn't require constexpr. More...

Go to the source code of this file.

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 

Functions

Simple mathematical functions
template<typename T >
constexpr auto util::abs (T v)
 Returns the absolute value of the argument. More...
 

Detailed Description

Mathematical functions that C++ standard doesn't require constexpr.

Author
Gianluca Petrillo
Date
January 11, 2019

This is a header-only library.

Definition in file constexpr_math.h.