|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef PolynomialUnivariate_h
2 #define PolynomialUnivariate_h
45 void Expand(
const std::vector<double> &vars);
void SetCoefficients(const std::vector< double > &coefs)
Set the coefficients for the equation.
Definition: BasisFunction.cpp:42
Nth degree Polynomial with one variable.
Definition: PolynomialUnivariate.h:37
PolynomialUnivariate(int degree)
Create a PolynomialUnivariate object.
Definition: PolynomialUnivariate.cpp:21
double DerivativeVar(const double value)
This will take the Derivative with respect to the variable and evaluate at given value.
Definition: PolynomialUnivariate.cpp:67
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
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:90
Isis exception class.
Definition: IException.h:91
Time based linear equation class.
Definition: Basis1VariableFunction.h:50
~PolynomialUnivariate()
Destroys the PolynomialUnivariate object.
Definition: PolynomialUnivariate.h:43
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:48
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std::vector< double > p_terms
A vector of the terms in the equation.
Definition: BasisFunction.h:127
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
int Coefficients() const
Returns the number of coefficients for the equation.
Definition: BasisFunction.h:64
double Coefficient(int i) const
Returns the ith coefficient.
Definition: BasisFunction.h:107