|
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.
|
#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 abs.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, enable_if_t< std::is_integral< Tp >::value &&std::is_unsigned< Tp >::value > = 0> | |
| auto | tim::math::abs (Tp _val, type_list<>) -> decltype(Tp{}) |
| template<typename Tp , typename Vp = typename Tp::value_type> | |
| auto | tim::math::abs (Tp _val, type_list<>,...) -> decltype(std::begin(_val), Tp{}) |
| template<template< typename... > class Tuple, typename... Types, size_t... Idx> | |
| auto | tim::math::abs (Tuple< Types... > _val, index_sequence< Idx... >) -> decltype(std::get< 0 >(_val), Tuple< Types... >()) |
| template<typename Tp > | |
| Tp | tim::math::abs (Tp _val) |