tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Namespaces | Functions
math_utils.h File Reference
#include "config.h"
#include "simple_type_traits.h"
Include dependency graph for math_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  math
 

Functions

template<typename T >
constexpr T math::sqrt (T x) noexcept
 Compute the square root of a floating-point value.
 
template<typename T >
constexpr T math::abs (T x) noexcept
 Compute the absolute value of a numeric value.
 
template<typename T >
constexpr T math::sin (T x) noexcept
 Compute the sine of a floating-point value (radians).
 
template<typename T >
constexpr T math::cos (T x) noexcept
 Compute the cosine of a floating-point value (radians).
 
template<typename T >
constexpr T math::acos (T x) noexcept
 Compute the arc cosine of a floating-point value.