Isis 3 Programmer Reference
PolynomialUnivariate.h
Go to the documentation of this file.
1 #ifndef PolynomialUnivariate_h
2 #define PolynomialUnivariate_h
3 
25 #include <vector>
26 #include "Basis1VariableFunction.h"
27 
28 namespace Isis {
54  public:
55  PolynomialUnivariate(int degree);
56  PolynomialUnivariate(int degree, std::vector<double> coeffs);
57 
60 
61  void Expand(const std::vector<double> &vars);
62 
63  double DerivativeVar(const double value);
64  double DerivativeCoef(const double value, const int coefIndex);
65 
66  private:
67  int p_degree;
68  };
69 };
70 
71 #endif
72 
Nth degree Polynomial with one variable.
~PolynomialUnivariate()
Destroys the PolynomialUnivariate object.
double DerivativeVar(const double value)
This will take the Derivative with respect to the variable and evaluate at given value.
void Expand(const std::vector< double > &vars)
This is the the overriding virtual function that provides the expansion of the two input variables in...
Time based linear equation class.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double DerivativeCoef(const double value, const int coefIndex)
Evaluate the derivative of the polynomial defined by the given coefficients with respect to the coeff...
PolynomialUnivariate(int degree)
Create a PolynomialUnivariate object.
int p_degree
The order/degree of the polynomial.