Public Member Functions | List of all members
nmx::apps::x016::QPolynom Class Reference

The QPolynom class Nullstellen eines quadratischen Polynoms mit reellen Koeffizienten. More...

#include <x016.h>

Inheritance diagram for nmx::apps::x016::QPolynom:
nmx::apps::x013::Polynom< T, N >

Public Member Functions

auto real_roots () const
 real_roots berechne reelle Nullstellen More...
 
auto complex_roots () const
 complex_roots berechne komplexe Nullstellen More...
 
- Public Member Functions inherited from nmx::apps::x013::Polynom< T, N >
 Polynom (std::array< T, N+1 > clst)
 Polynom Konstruktor. More...
 
c (size_t idx) const
 c lese Koeffizienten More...
 
auto eval (gsl_complex z) const
 eval Auswertung des Polynoms More...
 
auto eval (double x) const
 eval Auswertung des Polynoms More...
 
template<class R >
auto operator() (R x) const
 operator () Auswertung des Polynoms More...
 
constexpr size_t degree () const
 degree More...
 

Additional Inherited Members

- Protected Attributes inherited from nmx::apps::x013::Polynom< T, N >
std::array< T, N+1 > _c
 

Detailed Description

The QPolynom class Nullstellen eines quadratischen Polynoms mit reellen Koeffizienten.

Definition at line 13 of file x016.h.

Member Function Documentation

◆ complex_roots()

auto nmx::apps::x016::QPolynom::complex_roots ( ) const
inline

complex_roots berechne komplexe Nullstellen

Returns
Feld mit berechneten Nullstellen (immer zwei)

Definition at line 42 of file x016.h.

◆ real_roots()

auto nmx::apps::x016::QPolynom::real_roots ( ) const
inline

real_roots berechne reelle Nullstellen

Returns
Feld mit Nullstellen, die Länge des Feldes ist gleich der Anzahl der Nullstellen

Definition at line 25 of file x016.h.


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