Isis Developer Reference
NthOrderPolynomial.h
Go to the documentation of this file.
1 
2 #ifndef NthOrderPolynomial_h
3 #define NthOrderPolynomial_h
4 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 #include <vector>
11 #include "BasisFunction.h"
12 
13 namespace Isis {
14 
30  public:
31  NthOrderPolynomial(int degree);
32 
35 
36  void Expand(const std::vector<double> &vars);
37 
38  private:
39  int p_degree;
40  };
41 
42 }
43 #endif
44 
Isis::NthOrderPolynomial
NthOrderPolynomial basis function.
Definition: NthOrderPolynomial.h:29
FileName.h
Isis::NthOrderPolynomial::NthOrderPolynomial
NthOrderPolynomial(int degree)
Create an NthOrderPolynomial.
Definition: NthOrderPolynomial.cpp:24
Isis::BasisFunction
Generic linear equation class.
Definition: BasisFunction.h:48
Isis::NthOrderPolynomial::~NthOrderPolynomial
~NthOrderPolynomial()
Destroys the NthOrderPolynomial object.
Definition: NthOrderPolynomial.h:34
NthOrderPolynomial.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::NthOrderPolynomial::Expand
void Expand(const std::vector< double > &vars)
This is the the overriding virtual function that provides the expansion into the nth order polynomial...
Definition: NthOrderPolynomial.cpp:38
Isis::IException
Isis exception class.
Definition: IException.h:91
BasisFunction.h
Isis::BasisFunction::Variables
int Variables() const
Returns the number of variables in the equation.
Definition: BasisFunction.h:72
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
Isis::BasisFunction::p_terms
std::vector< double > p_terms
A vector of the terms in the equation.
Definition: BasisFunction.h:127
Constants.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16