QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Static Public Member Functions | Private Member Functions | List of all members
Factorial Class Reference

Factorial numbers calculator More...

#include <factorial.hpp>

+ Collaboration diagram for Factorial:

Static Public Member Functions

static Real get (Natural n)
 
static Real ln (Natural n)
 

Private Member Functions

 Factorial ()=default
 

Detailed Description

Factorial numbers calculator

Tests:
the correctness of the returned value is tested by checking it against numerical calculations.

Definition at line 35 of file factorial.hpp.

Constructor & Destructor Documentation

◆ Factorial()

Factorial ( )
privatedefault

Member Function Documentation

◆ get()

Real get ( Natural  n)
static

Definition at line 50 of file factorial.cpp.

+ Here is the caller graph for this function:

◆ ln()

Real ln ( Natural  n)
static

Definition at line 58 of file factorial.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: