Helper class for differentiating and integrating polynomials.
More...
#include <polynomial.hpp>
- Author
- Joel Andersson
- Date
- 2014
Extra doc: https://github.com/casadi/casadi/wiki/L_8y
Definition at line 39 of file polynomial.hpp.
◆ Polynomial() [1/5]
casadi::Polynomial::Polynomial |
( |
double |
scalar = 1 | ) |
|
◆ Polynomial() [2/5]
casadi::Polynomial::Polynomial |
( |
double |
p0, |
|
|
double |
p1 |
|
) |
| |
◆ Polynomial() [3/5]
casadi::Polynomial::Polynomial |
( |
double |
p0, |
|
|
double |
p1, |
|
|
double |
p2 |
|
) |
| |
◆ Polynomial() [4/5]
casadi::Polynomial::Polynomial |
( |
double |
p0, |
|
|
double |
p1, |
|
|
double |
p2, |
|
|
double |
p3 |
|
) |
| |
◆ Polynomial() [5/5]
template<typename T >
casadi::Polynomial::Polynomial |
( |
const std::vector< T > & |
coeff | ) |
|
|
inline |
◆ anti_derivative()
Polynomial casadi::Polynomial::anti_derivative |
( |
| ) |
const |
◆ coeff()
const std::vector<double>& casadi::Polynomial::coeff |
( |
| ) |
const |
|
inline |
◆ degree()
casadi_int casadi::Polynomial::degree |
( |
| ) |
const |
◆ derivative()
Polynomial casadi::Polynomial::derivative |
( |
| ) |
const |
◆ disp()
void casadi::Polynomial::disp |
( |
std::ostream & |
stream, |
|
|
bool |
more = false |
|
) |
| const |
◆ operator()()
template<typename T >
T casadi::Polynomial::operator() |
( |
const T & |
x | ) |
const |
|
inline |
◆ operator*()
◆ operator*=()
◆ operator+()
◆ operator+=()
◆ operator-()
◆ operator-=()
◆ operator/()
Polynomial casadi::Polynomial::operator/ |
( |
double |
b | ) |
const |
◆ operator/=()
Polynomial& casadi::Polynomial::operator/= |
( |
double |
b | ) |
|
◆ scalar()
double casadi::Polynomial::scalar |
( |
| ) |
const |
◆ trim()
void casadi::Polynomial::trim |
( |
| ) |
|
◆ type_name()
std::string casadi::Polynomial::type_name |
( |
| ) |
const |
|
inline |
◆ p_
std::vector<double> casadi::Polynomial::p_ |
|
protected |
The documentation for this class was generated from the following file: