Classes | Namespaces | Functions
pow.h File Reference
#include "cetlib_except/exception.h"
#include <type_traits>

Go to the source code of this file.

Classes

struct  cet::detail::pow< N, T, unsigned >
 
struct  cet::detail::pow< N, T, 0u >
 
struct  cet::detail::pow< N, T, 1u >
 
struct  cet::detail::pow< 0u, T, 0u >
 
struct  cet::detail::pow< 1u, T, 1u >
 
struct  cet::detail::pow< 2u, T, 0u >
 

Namespaces

 cet
 
 cet::detail
 

Functions

template<unsigned N, class T >
constexpr T cet::pow (T x)
 
template<class T >
constexpr T cet::square (T x)
 
template<class T >
constexpr T cet::cube (T x)
 
template<class T >
constexpr T cet::fourth (T x)
 
template<class T >
constexpr T cet::diff_of_squares (T x, T y)
 
template<class T >
constexpr T cet::sum_of_squares (T x, T y)
 
template<class T >
constexpr T cet::sum_of_squares (T x, T y, T z)