Jpp 19.3.0
the software that should make you happy
Loading...
Searching...
No Matches
utl::Branch< Float, branch > Class Template Reference

#include <LambertW.hh>

Static Public Member Functions

template<int order>
static Float BranchPointExpansion (const Float x)
 
template<int order>
static Float AsymptoticExpansion (const Float x)
 
template<int order>
static Float LogRecursion (const Float x)
 

Private Types

enum  { eSign = 2*branch + 1 }
 

Detailed Description

template<typename Float, int branch>
class utl::Branch< Float, branch >

Definition at line 178 of file LambertW.hh.

Member Enumeration Documentation

◆ anonymous enum

template<typename Float , int branch>
anonymous enum
private
Enumerator
eSign 

Definition at line 201 of file LambertW.hh.

201{ eSign = 2*branch + 1 };

Member Function Documentation

◆ BranchPointExpansion()

template<typename Float , int branch>
template<int order>
static Float utl::Branch< Float, branch >::BranchPointExpansion ( const Float x)
inlinestatic

Definition at line 181 of file LambertW.hh.

182 { return Horner<Float, BranchPoint, order>::Eval(eSign * sqrt(2*(Float(M_E)*x+1))); }
static Float Eval(const Float x)
Definition Horner.h:35

◆ AsymptoticExpansion()

template<typename Float , int branch>
template<int order>
static Float utl::Branch< Float, branch >::AsymptoticExpansion ( const Float x)
inlinestatic

Definition at line 188 of file LambertW.hh.

189 {
190 const Float logsx = log(eSign * x);
191 const Float logslogsx = log(eSign * logsx);
192 return AsymptoticExpansionImpl<Float, order>(logsx, logslogsx);
193 }
Float AsymptoticExpansionImpl(const Float a, const Float b)
Definition LambertW.hh:158

◆ LogRecursion()

template<typename Float , int branch>
template<int order>
static Float utl::Branch< Float, branch >::LogRecursion ( const Float x)
inlinestatic

Definition at line 197 of file LambertW.hh.

static Float Step(const Float logsx)
Definition LambertW.hh:167

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