Loading [MathJax]/jax/output/NativeMML/config.js
Isis 3 Developer 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.
Definition: PolynomialUnivariate.h:53
~PolynomialUnivariate()
Destroys the PolynomialUnivariate object.
Definition: PolynomialUnivariate.h:59
double DerivativeVar(const double value)
This will take the Derivative with respect to the variable and evaluate at given value.
Definition: PolynomialUnivariate.cpp:82
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:63
Time based linear equation class.
Definition: Basis1VariableFunction.h:66
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...
Definition: PolynomialUnivariate.cpp:105
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 USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:26:39