|
Isis 3 Programmer Reference
|
11 #include "PolynomialBivariate.h"
12 #include "LeastSquares.h"
39 void AddTriplet(
const double x,
const double y,
const double z);
40 void AddTriplets(
const double *x,
const double *y,
const double *z,
43 const std::vector<double> &y,
44 const std::vector<double> &z);
47 double Evaluate(
const double x,
const double y);
49 int MinMax(
double &x,
double &y);
void Solve()
Fit a surface to the input triplets.
Nth degree Polynomial with two variables.
void AddTriplets(const double *x, const double *y, const double *z, const int n)
Add an array of (x,y,z) triplet to the list of knowns After all knowns are added invoke the Solve met...
void AddTriplet(const double x, const double y, const double z)
Add a single (x,y,z) triplet to the list of knowns. After all knowns are added invoke the Solve metho...
Generic least square fitting class.
SurfaceModel()
Constructor.
double Evaluate(const double x, const double y)
Evaluate at x,y to compute z. This is available after the Solve method is invoked.
~SurfaceModel()
Destructor.
This is free and unencumbered software released into the public domain.
int MinMax(double &x, double &y)
After invoking Solve, a coordinate (x,y) at a local minimum (or maximum) of the surface model can be ...