1#ifndef PolynomialUnivariate_h
2#define PolynomialUnivariate_h
10#include "Basis1VariableFunction.h"
45 void Expand(
const std::vector<double> &vars);
Time based linear equation class.
Nth degree Polynomial with one variable.
~PolynomialUnivariate()
Destroys the PolynomialUnivariate object.
int p_degree
The order/degree of the polynomial.
void Expand(const std::vector< double > &vars)
This is the the overriding virtual function that provides the expansion of the two input variables in...
double DerivativeCoef(const double value, const int coefIndex)
Evaluate the derivative of the polynomial defined by the given coefficients with respect to the coeff...
double DerivativeVar(const double value)
This will take the Derivative with respect to the variable and evaluate at given value.
PolynomialUnivariate(int degree)
Create a PolynomialUnivariate object.
This is free and unencumbered software released into the public domain.