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.