Isis 3.0
Back | Home
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 {
52  public:
53  PolynomialUnivariate(int degree);
54 
57 
58  void Expand(const std::vector<double> &vars);
59 
60  double DerivativeVar(const double value);
61  double DerivativeCoef(const double value, const int coefIndex);
62 
63  private:
64  int p_degree;
65  };
66 };
67 
68 #endif
69 
Nth degree Polynomial with one variable.
Definition: PolynomialUnivariate.h:51
~PolynomialUnivariate()
Destroys the PolynomialUnivariate object.
Definition: PolynomialUnivariate.h:56
double DerivativeVar(const double value)
This will take the Derivative with respect to the variable and evaluate at given value.
Definition: PolynomialUnivariate.cpp:68
void Expand(const std::vector< double > &vars)
This is the the overriding virtual function that provides the expansion of the two input variables in...
Definition: PolynomialUnivariate.cpp:49
Time based linear equation class.
Definition: Basis1VariableFunction.h:65
double DerivativeCoef(const double value, const int coefIndex)
Evaluate the derivative of the polynomial defined by the given coefficients with respect to the coeff...
Definition: PolynomialUnivariate.cpp:91
PolynomialUnivariate(int degree)
Create a PolynomialUnivariate object.
Definition: PolynomialUnivariate.cpp:37

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:25:48