isce3 0.25.0
Loading...
Searching...
No Matches
polyfunc.h
Go to the documentation of this file.
1
4#pragma once
5
6#include <cmath>
7#include <tuple>
8
9#include <Eigen/Dense>
10
11#include <isce3/core/Poly1d.h>
12#include <isce3/except/Error.h>
14namespace isce3 { namespace math {
15
36std::tuple<Eigen::ArrayXd, double, double> polyfit(
37 const Eigen::Ref<const Eigen::ArrayXd>& x,
38 const Eigen::Ref<const Eigen::ArrayXd>& y, int deg,
39 bool center_scale = false);
40
54double polyval(const Eigen::Ref<const Eigen::ArrayXd>& coef, double x,
55 double mean = 0.0, double std = 1.0);
56
68Eigen::ArrayXd polyval(const Eigen::Ref<const Eigen::ArrayXd>& coef,
69 const Eigen::Ref<const Eigen::ArrayXd>& x, double mean = 0.0,
70 double std = 1.0);
71
80Eigen::ArrayXd polyder(
81 const Eigen::Ref<const Eigen::ArrayXd>& coef, double std = 1.0);
82
94isce3::core::Poly1d polyfitObj(const Eigen::Ref<const Eigen::ArrayXd>& x,
95 const Eigen::Ref<const Eigen::ArrayXd>& y, int deg,
96 bool center_scale = false);
97
98}} // namespace isce3::math
base interpolator is an abstract base class
Definition BinarySearchFunc.cpp:5

Generated for ISCE3.0 by doxygen 1.13.2.