Isis Developer Reference
NthOrderPolynomial.h
Go to the documentation of this file.
1
2#ifndef NthOrderPolynomial_h
3#define NthOrderPolynomial_h
9/* SPDX-License-Identifier: CC0-1.0 */
10#include <vector>
11#include "BasisFunction.h"
12
13namespace 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
Generic linear equation class.
Definition BasisFunction.h:48
NthOrderPolynomial basis function.
Definition NthOrderPolynomial.h:29
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
NthOrderPolynomial(int degree)
Create an NthOrderPolynomial.
Definition NthOrderPolynomial.cpp:24
~NthOrderPolynomial()
Destroys the NthOrderPolynomial object.
Definition NthOrderPolynomial.h:34
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16