Computes Jacobi's Amplitude function.
{
template<concepts::complex_like Z, concepts::real U>
constexpr auto jacobi_elliptic Z z, U m)
noexcept;
template<concepts::complex_like Z, concepts::real U>
constexpr Z
jacobi_elliptic[modular](Z z, U alpha)
noexcept;
template<concepts::complex_like Z, concepts::real U>
constexpr Z
jacobi_elliptic[eccentric](Z z, U
k)
noexcept;
template<concepts::complex_like Z, concepts::real U>
constexpr Z
jacobi_elliptic[threshold = tol](Z z, U m)
noexcept;
template<concepts::complex_like Z, concepts::real U>
constexpr Z
jacobi_elliptic[threshold = tol][modular](Z z, U alpha)
noexcept;
template<concepts::complex_like Z, concepts::real U>
constexpr Z
jacobi_elliptic[threshold = tol][eccentric](Z z, U
k)
noexcept;
}
constexpr auto k
Computes the complex number k i.e. quaternion(0, 0, 0, 1) in the chosen type.
Definition: k.hpp:78
constexpr auto jacobi_elliptic
Computes Jacobi's Amplitude function.
Definition: jacobi_elliptic.hpp:92
Main KYOSU namespace.
Definition: cinf.hpp:13
#include <kyosu/kyosu.hpp>
#include <eve/wide.hpp>
#include <iostream>
#include <iomanip>
int main()
{
std::cout<< std::setprecision(16) << std::endl;
using w_t = eve::wide<double, eve::fixed<2>>;
auto m = w_t(0.5, 0.7);
std::cout << " z " << z << std::endl;
std::cout << " m " << m << std::endl;
std::cout << "sn(z, m) " << sn << std::endl;
std::cout << "cn(z, m) " << cn << std::endl;
std::cout << "dn(z, m) " << dn << std::endl;
return 0;
}
constexpr auto complex
Constructs a kyosu::complex_t instance.
Definition: to_complex.hpp:75