n th degree polynomials
More...
#include <XXPolynomial.h>
n th degree polynomials
@detail see https://en.wikipedia.org/wiki/Polynomial coeeficients are in decending order i.e. a(n), a(n-1), ... , a1, a0
◆ Polynomial() [1/3]
| XX::Polynomial::Polynomial |
( |
size_t | degree = 0 | ) |
|
◆ Polynomial() [2/3]
| XX::Polynomial::Polynomial |
( |
QVector< double > | coefficents | ) |
|
◆ Polynomial() [3/3]
| XX::Polynomial::Polynomial |
( |
const Polynomial & | other | ) |
|
◆ getCoeficents()
| const QVector< double > & XX::Polynomial::getCoeficents |
( |
| ) |
const |
◆ getDegree()
| size_t XX::Polynomial::getDegree |
( |
| ) |
const |
◆ load()
| virtual void XX::Polynomial::load |
( |
const QJsonObject & | data | ) |
|
|
virtual |
◆ operator!=()
| bool XX::Polynomial::operator!= |
( |
const Polynomial & | other | ) |
const |
◆ operator()()
| double XX::Polynomial::operator() |
( |
const double & | x | ) |
const |
◆ operator+()
◆ operator+=()
◆ operator-()
◆ operator-=()
◆ operator=()
◆ operator==()
| bool XX::Polynomial::operator== |
( |
const Polynomial & | other | ) |
const |
◆ save()
| virtual QJsonObject XX::Polynomial::save |
( |
| ) |
const |
|
virtual |
◆ setCoefficient()
| void XX::Polynomial::setCoefficient |
( |
size_t | index, |
|
|
const double & | value ) |
◆ setDegree()
| void XX::Polynomial::setDegree |
( |
size_t | degree | ) |
|
◆ value()
| virtual double XX::Polynomial::value |
( |
const double & | x | ) |
const |
|
virtual |
◆ operator<<
| QDebug operator<< |
( |
QDebug | stream, |
|
|
const Polynomial & | polynomial ) |
|
friend |
The documentation for this class was generated from the following file: