Jpp 19.3.0
the software that should make you happy
Loading...
Searching...
No Matches
utl::Pade< Float, 0, 2 > 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, 0, 2 >

Definition at line 292 of file LambertW.hh.

Member Function Documentation

◆ Approximation()

template<typename Float >
static Float utl::Pade< Float, 0, 2 >::Approximation ( const Float x)
inlinestatic

Definition at line 293 of file LambertW.hh.

294 { const Float y = log(Float(0.5)*x) - 2;
295 return 2 + y * HORNER3(Float, y, 0.00006979269679670452, 0.017110368846615806, 0.19338607770900237, 0.6666648896499793) /
296 HORNER2(Float, y, 0.0188060684652668, 0.23451269827133317, 1); }
#define HORNER3(F, x, c3, c2, c1, c0)
Definition Horner.h:70
#define HORNER2(F, x, c2, c1, c0)
Definition Horner.h:69

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