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

The Sin class Die Funktion sin(x) als Taylor-Polynom. More...

#include <x018.h>

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

Public Member Functions

 Sin (size_t n)
 Sin Konstruktor. More...
 
- Public Member Functions inherited from nmx::apps::x018::PowerSeries< Sin >
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< Sin >
 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< Sin >
using Factorial = Factorial< 15 >
 
- Protected Attributes inherited from nmx::apps::x018::PowerSeries< Sin >
size_t _n
 
double xval
 

Detailed Description

The Sin class Die Funktion sin(x) als Taylor-Polynom.

Definition at line 144 of file x018.h.

Constructor & Destructor Documentation

◆ Sin()

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

Sin Konstruktor.

Parameters
nAnzahl der Terme

Definition at line 166 of file x018.h.

Member Function Documentation

◆ term()

double nmx::apps::x018::Sin::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 155 of file x018.h.


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