Public Member Functions | List of all members
nmx::apps::x015::Sin Class Reference

The Sin class Taylorpolynom für sin(x) More...

#include <x015.h>

Inheritance diagram for nmx::apps::x015::Sin:
nmx::apps::x015::PowerSeries

Public Member Functions

 Sin (size_t n)
 Sin Konstruktor. More...
 
double term (size_t n, double x)
 term Term des Taylor-Polynoms More...
 
- Public Member Functions inherited from nmx::apps::x015::PowerSeries
double operator() (double x) const
 operator () More...
 

Additional Inherited Members

- Protected Member Functions inherited from nmx::apps::x015::PowerSeries
 PowerSeries (size_t n)
 PowerSeries Konstruktor. More...
 
double sum (double x) const
 sum Summe aller Terme More...
 
- Static Protected Member Functions inherited from nmx::apps::x015::PowerSeries
static double factorial (size_t n)
 factorial Fakultät More...
 
static int sign (size_t n)
 sign More...
 
- Protected Attributes inherited from nmx::apps::x015::PowerSeries
size_t _n
 
std::function< double(size_t, double)> _fn
 
- Static Protected Attributes inherited from nmx::apps::x015::PowerSeries
static std::vector< double > cache
 

Detailed Description

The Sin class Taylorpolynom für sin(x)

Definition at line 127 of file x015.h.

Constructor & Destructor Documentation

◆ Sin()

nmx::apps::x015::Sin::Sin ( size_t  n)
inline

Sin Konstruktor.

Parameters
nAnzahl der Terme

Definition at line 137 of file x015.h.

Member Function Documentation

◆ term()

double nmx::apps::x015::Sin::term ( size_t  n,
double  x 
)
inline

term Term des Taylor-Polynoms

Parameters
nn-ter Term
xVariable
Returns
Wert des n-ten Terms an der Stelle x

Definition at line 148 of file x015.h.


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