Public Member Functions | Protected Member Functions | List of all members
nmx::apps::x018::Exp Class Reference

The Exp class Die Funktion e^x als Taylor-Polynom. More...

#include <x018.h>

Inheritance diagram for nmx::apps::x018::Exp:
nmx::apps::x018::PowerSeries< Exp >

Public Member Functions

 Exp (size_t n)
 Exp Konstruktor. More...
 
- Public Member Functions inherited from nmx::apps::x018::PowerSeries< Exp >
double operator() (double x) const
 operator () berechne Funktionswert More...
 

Protected Member Functions

double term (double x, size_t n) const
 term Term des Taylor-Polynoms More...
 
- Protected Member Functions inherited from nmx::apps::x018::PowerSeries< Exp >
 PowerSeries (size_t n)
 PowerSeries. More...
 
double term (double x, size_t n) const
 term allgemeiner Term (Funktionsspezifisch) More...
 
double sum (double x) const
 sum Partialsumme ... More...
 
int sign (size_t n) const
 sign Berechne (-1)^n More...
 

Additional Inherited Members

- Public Types inherited from nmx::apps::x018::PowerSeries< Exp >
using Factorial = Factorial< 15 >
 
- Protected Attributes inherited from nmx::apps::x018::PowerSeries< Exp >
size_t _n
 
double xval
 

Detailed Description

The Exp class Die Funktion e^x als Taylor-Polynom.

Definition at line 116 of file x018.h.

Constructor & Destructor Documentation

◆ Exp()

nmx::apps::x018::Exp::Exp ( size_t  n)
inline

Exp Konstruktor.

Parameters
nAnzahl der Terme

Definition at line 137 of file x018.h.

Member Function Documentation

◆ term()

double nmx::apps::x018::Exp::term ( double  x,
size_t  n 
) const
inlineprotected

term Term des Taylor-Polynoms

Parameters
xVariable
nAnzahl der Terme
Returns
n-ter Term des Taylor-Polynoms

Definition at line 127 of file x018.h.


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