#include <polynomial.h>
Public Member Functions | |
Polynomial & | addScaled (const Polynomial &p, const double &scale) |
Polynomial< Degree-1 > | derivative (void) const |
void | getSolutions (const double &c, std::vector< double > &roots, const double &EPS) const |
double | integral (const double &tMin, const double &tMax) const |
Polynomial< Degree+1 > | integral (void) const |
int | isZero (void) const |
int | operator!= (const Polynomial &p) const |
double | operator() (const double &t) const |
template<int Degree2> | |
Polynomial< Degree+Degree2 > | operator* (const Polynomial< Degree2 > &p) const |
Polynomial | operator* (const double &s) const |
Polynomial & | operator*= (const double &s) |
Polynomial | operator+ (const Polynomial &p) const |
Polynomial | operator+ (const double &s) const |
Polynomial & | operator+= (const Polynomial &p) |
Polynomial & | operator+= (const double &s) |
Polynomial | operator- (void) const |
Polynomial | operator- (const Polynomial &p) const |
Polynomial | operator- (const double &s) const |
Polynomial & | operator-= (const Polynomial &p) |
Polynomial & | operator-= (const double &s) |
Polynomial | operator/ (const double &s) const |
Polynomial & | operator/= (const double &s) |
template<int Degree2> | |
Polynomial & | operator= (const Polynomial< Degree2 > &p) |
int | operator== (const Polynomial &p) const |
Polynomial (void) | |
template<int Degree2> | |
Polynomial (const Polynomial< Degree2 > &P) | |
void | printnl (void) const |
Polynomial | scale (const double &s) const |
void | setZero (void) |
Polynomial | shift (const double &t) const |
Static Public Member Functions | |
static void | AddScaled (const Polynomial &p1, const double &w1, const Polynomial &p2, const double &w2, Polynomial &q) |
static void | AddScaled (const Polynomial &p1, const Polynomial &p2, const double &w2, Polynomial &q) |
static void | AddScaled (const Polynomial &p1, const double &w1, const Polynomial &p2, Polynomial &q) |
static void | Negate (const Polynomial &in, Polynomial &out) |
static void | Scale (const Polynomial &p, const double &w, Polynomial &q) |
static void | Subtract (const Polynomial &p1, const Polynomial &p2, Polynomial &q) |
Public Attributes | |
double | coefficients [Degree+1] |
Definition at line 51 of file polynomial.h.
pcl::poisson::Polynomial< Degree >::Polynomial | ( | void | ) |
Definition at line 57 of file polynomial.hpp.
pcl::poisson::Polynomial< Degree >::Polynomial | ( | const Polynomial< Degree2 > & | P | ) |
Definition at line 60 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::addScaled | ( | const Polynomial< Degree > & | p, |
const double & | scale | ||
) |
Definition at line 131 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::AddScaled | ( | const Polynomial< Degree > & | p1, |
const double & | w1, | ||
const Polynomial< Degree > & | p2, | ||
const double & | w2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 162 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::AddScaled | ( | const Polynomial< Degree > & | p1, |
const Polynomial< Degree > & | p2, | ||
const double & | w2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 170 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::AddScaled | ( | const Polynomial< Degree > & | p1, |
const double & | w1, | ||
const Polynomial< Degree > & | p2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 166 of file polynomial.hpp.
Polynomial< Degree-1 > pcl::poisson::Polynomial< Degree >::derivative | ( | void | ) | const |
Definition at line 76 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::getSolutions | ( | const double & | c, |
std::vector< double > & | roots, | ||
const double & | EPS | ||
) | const |
Definition at line 274 of file polynomial.hpp.
double pcl::poisson::Polynomial< Degree >::integral | ( | const double & | tMin, |
const double & | tMax | ||
) | const |
Definition at line 100 of file polynomial.hpp.
Polynomial< Degree+1 > pcl::poisson::Polynomial< Degree >::integral | ( | void | ) | const |
Definition at line 83 of file polynomial.hpp.
int pcl::poisson::Polynomial< Degree >::isZero | ( | void | ) | const |
Definition at line 123 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::Negate | ( | const Polynomial< Degree > & | in, |
Polynomial< Degree > & | out | ||
) | [static] |
Definition at line 179 of file polynomial.hpp.
int pcl::poisson::Polynomial< Degree >::operator!= | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 118 of file polynomial.hpp.
double pcl::poisson::Polynomial< Degree >::operator() | ( | const double & | t | ) | const |
Definition at line 90 of file polynomial.hpp.
Polynomial< Degree+Degree2 > pcl::poisson::Polynomial< Degree >::operator* | ( | const Polynomial< Degree2 > & | p | ) | const |
Definition at line 192 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator* | ( | const double & | s | ) | const |
Definition at line 231 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator*= | ( | const double & | s | ) |
Definition at line 209 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator+ | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 146 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator+ | ( | const double & | s | ) | const |
Definition at line 219 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator+= | ( | const Polynomial< Degree > & | p | ) |
Definition at line 136 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator+= | ( | const double & | s | ) |
Definition at line 199 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- | ( | void | ) | const |
Definition at line 185 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 152 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- | ( | const double & | s | ) | const |
Definition at line 225 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator-= | ( | const Polynomial< Degree > & | p | ) |
Definition at line 141 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator-= | ( | const double & | s | ) |
Definition at line 204 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator/ | ( | const double & | s | ) | const |
Definition at line 237 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator/= | ( | const double & | s | ) |
Definition at line 214 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator= | ( | const Polynomial< Degree2 > & | p | ) |
Definition at line 68 of file polynomial.hpp.
int pcl::poisson::Polynomial< Degree >::operator== | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 113 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::printnl | ( | void | ) | const |
Definition at line 266 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::scale | ( | const double & | s | ) | const |
Definition at line 243 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::Scale | ( | const Polynomial< Degree > & | p, |
const double & | w, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 158 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::setZero | ( | void | ) |
Definition at line 128 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::shift | ( | const double & | t | ) | const |
Definition at line 253 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::Subtract | ( | const Polynomial< Degree > & | p1, |
const Polynomial< Degree > & | p2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 175 of file polynomial.hpp.
double pcl::poisson::Polynomial< Degree >::coefficients[Degree+1] |
Definition at line 53 of file polynomial.h.