7#ifndef BOOST_MATH_LAMBERT_W_LAUR_HPP_INCLUDED
8#define BOOST_MATH_LAMBERT_W_LAUR_HPP_INCLUDED
10#include <boost/array.hpp>
24 template<
class CoeffType>
29 CoeffType
n = (CoeffType)
k;
39 return pow(
n/(
n-(CoeffType)1.),
n)*((CoeffType)1.-
n)/(
n+(CoeffType)1.);
45 template<
class CoeffType>
46 inline const boost::array<CoeffType,_laur_series_L>&
_lw_lc()
48 static const boost::array<CoeffType,_laur_series_L> ans = _coeff_array<CoeffType,_laur_series_L>(_laur_coeffs<CoeffType>);
53 template<
class ArgumentType,
class CoeffType>
54 ArgumentType
_laur(
const ArgumentType &z)
const double n
refractive index of diffusive medium
FTensor::Index< 'k', 3 > k
ArgumentType _laur(const ArgumentType &z)
const boost::array< CoeffType, _laur_series_L > & _lw_lc()
ArgumentType _series_sum(const ArgumentType &z, const boost::array< CoeffType, L > &c)
const std::size_t _laur_series_L
CoeffType _laur_coeffs(std::size_t k)