Specialises the function math loader for cubics. More...
#include <polynomial.hpp>
Public Member Functions | |
FunctionMath () | |
virtual | ~FunctionMath () |
Default constructor. | |
Static Public Member Functions | |
static QuadraticPolynomial | Division (const CubicPolynomial &p, const double &factor, double &remainder) |
Division by a factor (synthetic division algorithm). | |
static double | Maximum (const double &x_begin, const double &x_end, const CubicPolynomial &function) |
Redirections the maximum operator for cubics. | |
static double | Minimum (const double &x_begin, const double &x_end, const CubicPolynomial &function) |
Redirections the minimum operator for cubics. | |
static Array< double > | Roots (const CubicPolynomial &p) |
Real roots of the cubic. |
Specialises the function math loader for cubics.
This lets you use the functions directly from within the class.
Definition at line 1302 of file polynomial.hpp.
ecl::FunctionMath< CubicPolynomial >::FunctionMath | ( | ) | [inline] |
Definition at line 1304 of file polynomial.hpp.
virtual ecl::FunctionMath< CubicPolynomial >::~FunctionMath | ( | ) | [inline, virtual] |
Default constructor.
Definition at line 1305 of file polynomial.hpp.
static QuadraticPolynomial ecl::FunctionMath< CubicPolynomial >::Division | ( | const CubicPolynomial & | p, |
const double & | factor, | ||
double & | remainder | ||
) | [inline, static] |
Division by a factor (synthetic division algorithm).
Definition at line 1317 of file polynomial.hpp.
static double ecl::FunctionMath< CubicPolynomial >::Maximum | ( | const double & | x_begin, |
const double & | x_end, | ||
const CubicPolynomial & | function | ||
) | [inline, static] |
Redirections the maximum operator for cubics.
Definition at line 1334 of file polynomial.hpp.
static double ecl::FunctionMath< CubicPolynomial >::Minimum | ( | const double & | x_begin, |
const double & | x_end, | ||
const CubicPolynomial & | function | ||
) | [inline, static] |
Redirections the minimum operator for cubics.
Definition at line 1326 of file polynomial.hpp.
static Array<double> ecl::FunctionMath< CubicPolynomial >::Roots | ( | const CubicPolynomial & | p | ) | [inline, static] |
Real roots of the cubic.
Definition at line 1311 of file polynomial.hpp.