Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Jacobi Elliptic Function cd

#include <boost/math/special_functions/jacobi_elliptic.hpp>
namespace boost { namespace math {

 template <class T, class U>
 calculated-result-type jacobi_cd(T k, U u);

 template <class T, class U, class Policy>
 calculated-result-type jacobi_cd(T k, U u, const Policy& pol);

}} // namespaces

This function returns the Jacobi elliptic function cd.

The final Policy argument is optional and can be used to control the behaviour of the function: how it handles errors, what level of precision to use etc. Refer to the policy documentation for more details.

This function is a trivial wrapper around jacobi_elliptic, with:

cd(u, k) = cn(u, k) / dn(u, k)