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

Definition at line 320 of file LambertW.hh.

Member Function Documentation

◆ Approximation()

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

Definition at line 321 of file LambertW.hh.

322 { const Float y = log(-x);
323 return -exp(
324 HORNER4(Float, y, 0.000026987243254533254, -0.007692106448267341, 0.28793461719300206, -1.5267058884647018, -0.5370669268991288) /
325 HORNER4(Float, y, 3.6006502104930343e-6, -0.0015552463555591487, 0.08801194682489769, -0.8973922357575583, 1)
326 ); }
#define HORNER4(F, x, c4, c3, c2, c1, c0)
Definition Horner.h:71

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