4#ifndef TETL_COMPLEX_IMAG_HPP
5#define TETL_COMPLEX_IMAG_HPP
7#include <etl/_complex/complex.hpp>
8#include <etl/_concepts/floating_point.hpp>
9#include <etl/_concepts/integral.hpp>
15[[nodiscard]]
constexpr auto imag(
complex<T>
const& z)
noexcept(
noexcept(
z.
imag())) -> T
21template <floating_point Float>
22[[nodiscard]]
constexpr auto imag(Float )
noexcept -> Float
28template <integral Integer>
29[[nodiscard]]
constexpr auto imag(Integer )
noexcept ->
double
constexpr auto imag(Integer) noexcept -> double
Definition imag.hpp:29
constexpr auto imag(Float) noexcept -> Float
Definition imag.hpp:22
constexpr auto imag(complex< T > const &z) noexcept(noexcept(z.imag())) -> T
Definition imag.hpp:15
Definition adjacent_find.hpp:9
A complex number.
Definition complex.hpp:20