Computes Jacobi's Amplitude function.
{
}
constexpr auto k
Computes the complex number k i.e. quaternion(0, 0, 0, 1) in the chosen type.
Definition k.hpp:74
constexpr auto real
Extracts the real part of a value.
Definition parts.hpp:72
constexpr auto ellint_fe
Computes Jacobi's Amplitude function.
Definition ellint_fe.hpp:100
constexpr auto complex
Constructs a kyosu::complex_t instance.
Definition to_complex.hpp:69
Main KYOSU namespace.
Definition cinf.hpp:13
#include <eve/wide.hpp>
#include <iomanip>
#include <iostream>
#include <kyosu/kyosu.hpp>
int main()
{
std::cout << std::setprecision(16) << std::endl;
using w_t = eve::wide<double, eve::fixed<4>>;
auto z =
kyosu::complex(w_t(2.0, 1.0, 1.0, 0.0), w_t(1.0, 1.0, 0.0, 1.0));
auto m = w_t(0.5);
std::cout << " z " << z << std::endl;
std::cout << " m " << m << std::endl;
std::cout << "f " << f << std::endl;
std::cout << "e " << e << std::endl;
return 0;
}