4#ifndef TETL_COMPLEX_ABS_HPP
5#define TETL_COMPLEX_ABS_HPP
7#include <etl/_cmath/hypot.hpp>
8#include <etl/_complex/complex.hpp>
14[[nodiscard]]
constexpr auto abs(
complex<T>
const& z) -> T
16 return hypot(z.real(), z.imag());
constexpr auto abs(complex< T > const &z) -> T
Definition abs.hpp:14
Definition adjacent_find.hpp:9
A complex number.
Definition complex.hpp:20