kyosu v0.1.0
Complex Without Complexes
Loading...
Searching...
No Matches

◆ complex

auto kyosu::complex = eve::functor<make_complex_t>
inlineconstexpr

Constructs a kyosu::complex_t instance.

Header file

#include <kyosu/functions.hpp>

Callable Signatures

namespace kyosu
{
constexpr auto complex(eve::floating_value auto r, eve::floating_value auto i = 0) noexcept;
constexpr T complex(kyosu::concepts::complex auto z) noexcept;
}
constexpr auto i
Computes the complex number in the chosen type.
Definition i.hpp:68
constexpr auto complex
Constructs a kyosu::complex_t instance.
Definition to_complex.hpp:69
Main KYOSU namespace.
Definition cinf.hpp:13

Parameters

  • z : Complex value.
  • r, i : Real and imaginary part used to construct a kyosu::complex..

Return value

Returns a kyosu::complex constructed from its arguments.

Example