ISCE_INSAR/library/isceLib/include/Poly1d.h

30 lines
533 B
C
Raw Normal View History

2019-01-16 19:40:08 +00:00
//
// Author: Joshua Cohen
// Copyright 2017
//
#ifndef ISCELIB_POLY1D_H
#define ISCELIB_POLY1D_H
namespace isceLib {
struct Poly1d {
int order;
double mean;
double norm;
double *coeffs;
Poly1d();
Poly1d(int,double,double);
Poly1d(int,double,double,double*);
Poly1d(const Poly1d&);
~Poly1d();
int isNull();
void resetCoeffs();
void setCoeff(int,double);
double getCoeff(int);
double eval(double);
};
}
#endif