7#ifndef BOOST_MATH_LAMBERT_W_ASY_HPP_INCLUDED
8#define BOOST_MATH_LAMBERT_W_ASY_HPP_INCLUDED
50 template<
class ArgumentType,
class CoeffType>
51 ArgumentType
_asy_body(
const ArgumentType &L1,
const ArgumentType &
L2)
53 ArgumentType ans = L1-
L2;
63 ans +=
L2/L1 +
L2*(((CoeffType)(-2.))+
L2)/(CoeffType)2./L1/L1 +
L2*((CoeffType)6.-(CoeffType)9.*
L2+(CoeffType)2.*
L2*
L2)/(CoeffType)6./L1/L1/L1
64 +
L2*((CoeffType)(-12.)+(CoeffType)36.*
L2-(CoeffType)22.*
L2*
L2+(CoeffType)3.*
L2*
L2*
L2)/(CoeffType)12./L1/L1/L1/L1;
71 template<
class ArgumentType,
class CoeffType,
class IndexType>
72 ArgumentType
_asy(
const ArgumentType &z, IndexType
k = 0)
77 ArgumentType
L2 = log(L1);
79 return _asy_body<ArgumentType,CoeffType>(L1,
L2);
83 template<
class ArgumentType,
class CoeffType>
84 ArgumentType
_N1(
const ArgumentType &z)
88 ArgumentType L1 = log(-z);
89 ArgumentType
L2 = log(-L1);
91 return _asy_body<ArgumentType,CoeffType>(L1,
L2);
@ L2
field with C-1 continuity
FTensor::Index< 'k', 3 > k
ArgumentType _asy(const ArgumentType &z, IndexType k=0)
ArgumentType _log_k(const ArgumentType &z, const IndexType &k)
const std::size_t _asy_series_L
ArgumentType _N1(const ArgumentType &z)
ArgumentType _asy_body(const ArgumentType &L1, const ArgumentType &L2)