Isis 3 Programmer Reference
NthOrderPolynomial.h
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
29
class
NthOrderPolynomial
:
public
Isis::BasisFunction
{
30
public
:
31
NthOrderPolynomial
(
int
degree);
32
34
~NthOrderPolynomial
() {}
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
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
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
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
base
objs
NthOrderPolynomial
NthOrderPolynomial.h