#include <polynomial.h>
Public Member Functions | |
Polynomial & | addScaled (const Polynomial &p, double scale) |
template<> | |
Polynomial< 0 > | BSplineComponent (int i) |
Polynomial< Degree-1 > | derivative (void) const |
void | getSolutions (double c, std::vector< double > &roots, double EPS) const |
double | integral (double tMin, double tMax) const |
Polynomial< Degree+1 > | integral (void) const |
int | isZero (void) const |
int | operator!= (const Polynomial &p) const |
double | operator() (double t) const |
template<> | |
double | operator() (double t) const |
template<> | |
double | operator() (double t) const |
template<> | |
double | operator() (double t) const |
template<int Degree2> | |
Polynomial< Degree+Degree2 > | operator* (const Polynomial< Degree2 > &p) const |
Polynomial | operator* (double s) const |
Polynomial & | operator*= (double s) |
Polynomial | operator+ (const Polynomial &p) const |
Polynomial | operator+ (double s) const |
Polynomial & | operator+= (const Polynomial &p) |
Polynomial & | operator+= (double s) |
Polynomial | operator- (void) const |
Polynomial | operator- (const Polynomial &p) const |
Polynomial | operator- (double s) const |
Polynomial & | operator-= (const Polynomial &p) |
Polynomial & | operator-= (double s) |
Polynomial | operator/ (double s) const |
Polynomial & | operator/= (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 (double s) const |
void | setZero (void) |
Polynomial | shift (double t) const |
Static Public Member Functions | |
static void | AddScaled (const Polynomial &p1, double w1, const Polynomial &p2, double w2, Polynomial &q) |
static void | AddScaled (const Polynomial &p1, const Polynomial &p2, double w2, Polynomial &q) |
static void | AddScaled (const Polynomial &p1, double w1, const Polynomial &p2, Polynomial &q) |
static Polynomial | BSplineComponent (int i) |
static void | Negate (const Polynomial &in, Polynomial &out) |
static void | Scale (const Polynomial &p, double w, Polynomial &q) |
static void | Subtract (const Polynomial &p1, const Polynomial &p2, Polynomial &q) |
Public Attributes | |
double | coefficients [Degree+1] |
Definition at line 40 of file polynomial.h.
pcl::poisson::Polynomial< Degree >::Polynomial | ( | void | ) |
Definition at line 45 of file polynomial.hpp.
pcl::poisson::Polynomial< Degree >::Polynomial | ( | const Polynomial< Degree2 > & | P | ) |
Definition at line 48 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::addScaled | ( | const Polynomial< Degree > & | p, |
double | scale | ||
) |
Definition at line 119 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::AddScaled | ( | const Polynomial< Degree > & | p1, |
double | w1, | ||
const Polynomial< Degree > & | p2, | ||
double | w2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 150 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::AddScaled | ( | const Polynomial< Degree > & | p1, |
const Polynomial< Degree > & | p2, | ||
double | w2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 158 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::AddScaled | ( | const Polynomial< Degree > & | p1, |
double | w1, | ||
const Polynomial< Degree > & | p2, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 154 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::BSplineComponent | ( | int | i | ) | [static] |
Definition at line 307 of file polynomial.hpp.
Polynomial< 0 > pcl::poisson::Polynomial< 0 >::BSplineComponent | ( | int | i | ) |
Definition at line 300 of file polynomial.hpp.
Polynomial< Degree-1 > pcl::poisson::Polynomial< Degree >::derivative | ( | void | ) | const |
Definition at line 64 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::getSolutions | ( | double | c, |
std::vector< double > & | roots, | ||
double | EPS | ||
) | const |
Definition at line 272 of file polynomial.hpp.
double pcl::poisson::Polynomial< Degree >::integral | ( | double | tMin, |
double | tMax | ||
) | const |
Definition at line 87 of file polynomial.hpp.
Polynomial< Degree+1 > pcl::poisson::Polynomial< Degree >::integral | ( | void | ) | const |
Definition at line 71 of file polynomial.hpp.
int pcl::poisson::Polynomial< Degree >::isZero | ( | void | ) | const |
Definition at line 111 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::Negate | ( | const Polynomial< Degree > & | in, |
Polynomial< Degree > & | out | ||
) | [static] |
Definition at line 167 of file polynomial.hpp.
int pcl::poisson::Polynomial< Degree >::operator!= | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 106 of file polynomial.hpp.
double pcl::poisson::Polynomial< Degree >::operator() | ( | double | t | ) | const |
Definition at line 81 of file polynomial.hpp.
double pcl::poisson::Polynomial< 0 >::operator() | ( | double | t | ) | const |
Definition at line 77 of file polynomial.hpp.
double pcl::poisson::Polynomial< 1 >::operator() | ( | double | t | ) | const |
Definition at line 78 of file polynomial.hpp.
double pcl::poisson::Polynomial< 2 >::operator() | ( | double | t | ) | const |
Definition at line 79 of file polynomial.hpp.
Polynomial< Degree+Degree2 > pcl::poisson::Polynomial< Degree >::operator* | ( | const Polynomial< Degree2 > & | p | ) | const |
Definition at line 180 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator* | ( | double | s | ) | const |
Definition at line 225 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator*= | ( | double | s | ) |
Definition at line 199 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator+ | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 134 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator+ | ( | double | s | ) | const |
Definition at line 211 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator+= | ( | const Polynomial< Degree > & | p | ) |
Definition at line 124 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator+= | ( | double | s | ) |
Definition at line 187 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- | ( | void | ) | const |
Definition at line 173 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 140 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- | ( | double | s | ) | const |
Definition at line 218 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator-= | ( | const Polynomial< Degree > & | p | ) |
Definition at line 129 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator-= | ( | double | s | ) |
Definition at line 193 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator/ | ( | double | s | ) | const |
Definition at line 232 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator/= | ( | double | s | ) |
Definition at line 205 of file polynomial.hpp.
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator= | ( | const Polynomial< Degree2 > & | p | ) |
Definition at line 56 of file polynomial.hpp.
int pcl::poisson::Polynomial< Degree >::operator== | ( | const Polynomial< Degree > & | p | ) | const |
Definition at line 101 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::printnl | ( | void | ) | const |
Definition at line 264 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::scale | ( | double | s | ) | const |
Definition at line 239 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::Scale | ( | const Polynomial< Degree > & | p, |
double | w, | ||
Polynomial< Degree > & | q | ||
) | [static] |
Definition at line 146 of file polynomial.hpp.
void pcl::poisson::Polynomial< Degree >::setZero | ( | void | ) |
Definition at line 116 of file polynomial.hpp.
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::shift | ( | double | t | ) | const |
Definition at line 250 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 163 of file polynomial.hpp.
double pcl::poisson::Polynomial< Degree >::coefficients[Degree+1] |
Definition at line 42 of file polynomial.h.