|
| Quintic () |
| Empty.
|
|
| Quintic (const double &, const double &, const double &, const double &, const double &, const double &) |
| Creates a quintic polynomial.
|
|
| Quintic (const Quadric &) |
| Creates a quintic from a quadric. More...
|
|
| Quintic (const Cubic &) |
| Creates a quintic from a cubic. More...
|
|
| Quintic (const Quartic &) |
| Creates a quintic from a quartic. More...
|
|
| ~Quintic () |
| Empty.
|
|
constexpr double & | operator[] (int) |
| Access to the coefficients of the quintic.
|
|
constexpr double | operator[] (int) const |
| Overloaded.
|
|
int | CheckDegree () const |
| Check the degree of the quintic.
|
|
Quintic | operator- () const |
| Unary.
|
|
Quintic & | operator+= (const Quintic &) |
| Destructive sum.
|
|
Quintic & | operator-= (const Quintic &) |
| Destructive difference.
|
|
Quintic & | operator*= (const double &) |
| Scale.
|
|
Quintic & | operator/= (const double &) |
| Scale.
|
|
Quartic | Prime () const |
| Computes the first derivative of a quintic, which is a quartic.
|
|
Cubic | Second () const |
| Computes the second derivative of a quintic, which is a cubic.
|
|
Quadric | Third () const |
| Computes the third derivative of a quintic.
|
|
double | K (const double &, const double &) const |
| Compute the Lipschitz constant of the quintic. More...
|
|
constexpr double | operator() (const double &) const |
| Evaluates the quintic. More...
|
|
constexpr double | Derivative (const double &) const |
| Computes the derivative value at a given point. More...
|
|
int | Solve (double *) const |
| Solve the quintic equation over a given interval. More...
|
|
int | Solve (double *, const double &, const double &) const |
| Search the roots of a quintic equation over a given interval. More...
|
|
void | Range (double &, double &, const double &=0.0, const double &=1.0) const |
| Compute the range of values taken by a quintic over a given interval. More...
|
|
|
static Quintic | Hermite (const double &, const double &, const double &, const double &, const double &, const double &) |
| Creates an Hermite quintic polynomial on interval [0,1]. More...
|
|
static double | Smooth (const double &) |
| Compute the value of smooth C2 interpolating function over unit interval. More...
|
|
static double | SmoothStep (const double &, const double &, const double &) |
| Compute a quintic smooth step. More...
|
|
static double | Gaussian (const double &, const double &, const double &) |
| Compute a compactly supported Gaussian-like pulse. More...
|
|
static double | GaussianThick (const double &, const double &, const double &, const double &) |
| Compute a compactly supported Gaussian-like pulse with a thick plateau. More...
|
|
Quintic polynomials.
Closed form expression of roots does not exist for polynomials with a degree greater than 5.
Constructors should provide the coefficients in descending order. Example of how to code the quintic x5-x+1:
Quintic polynomials.
Definition: quintic.h:8
Quintic implements some inline static member function such as:
{
return x * x * x * (x * (x * 6 - 15) + 10);
}
static double Smooth(const double &)
Compute the value of smooth C2 interpolating function over unit interval.
Definition: quintic.h:242