timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
pow.hpp File Reference
#include "timemory/math/fwd.hpp"
#include "timemory/mpl/concepts.hpp"
#include "timemory/mpl/types.hpp"
#include "timemory/utility/types.hpp"
#include <cassert>
#include <cmath>
#include <limits>
#include <utility>
+ Include dependency graph for pow.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tim
 
namespace  tim::math
 

Functions

template<typename Tp , enable_if_t< std::is_arithmetic< Tp >::value > = 0>
auto tim::math::pow (Tp _val, double _m, type_list<>) -> decltype(std::pow(_val, _m), Tp{})
 
template<typename Tp , typename Vp = typename Tp::value_type>
auto tim::math::pow (Tp _val, double _m, type_list<>,...) -> decltype(std::begin(_val), Tp{})
 
template<typename Tp , typename Kp = typename Tp::key_type, typename Mp = typename Tp::mapped_type>
auto tim::math::pow (Tp _val, double _m, type_list<>) -> decltype(std::begin(_val), Tp{})
 
template<template< typename... > class Tuple, typename... Types, size_t... Idx>
auto tim::math::pow (Tuple< Types... > _val, double _m, index_sequence< Idx... >) -> decltype(std::get< 0 >(_val), Tuple< Types... >())
 
template<typename Tp >
Tp tim::math::pow (Tp, double)