Jpp 19.3.0
the software that should make you happy
Loading...
Searching...
No Matches
utl::Pade< Float, -1, 5 > Struct Template Reference

#include <LambertW.hh>

Static Public Member Functions

static Float Approximation (const Float x)
 

Detailed Description

template<typename Float>
struct utl::Pade< Float, -1, 5 >

Definition at line 309 of file LambertW.hh.

Member Function Documentation

◆ Approximation()

template<typename Float >
static Float utl::Pade< Float, -1, 5 >::Approximation ( const Float x)
inlinestatic

Definition at line 310 of file LambertW.hh.

311 { const Float y = log(-x);
312 return -exp(
313 HORNER3(Float, y, 0.16415668298255184, -3.334873920301941, 2.4831415860003747, 4.173424474574879) /
314 HORNER3(Float, y, 0.031239411487374164, -1.2961659693400076, 4.517178492772906, 1)
315 ); }
#define HORNER3(F, x, c3, c2, c1, c0)
Definition Horner.h:70

The documentation for this struct was generated from the following file: