20#ifndef _interpolation_pkg_h
21#define _interpolation_pkg_h
23#include "alglibinternal.h"
24#include "alglibmisc.h"
27#include "specialfunctions.h"
28#include "integration.h"
29#include "optimization.h"
52 ae_int_t debugsolverfailures;
53 double debugworstrcond;
54 double debugbestrcond;
131 ae_int_t iterationscount;
186 ae_int_t repiterationscount;
187 ae_int_t repterminationtype;
191 double repavgrelerror;
228 ae_int_t basisfunction;
243 ae_int_t terminationtype;
250 ae_int_t iterationscount;
306 ae_int_t iterationscount;
308 ae_int_t terminationtype;
312 ae_int_t modelversion;
320 ae_int_t modelversion;
328 ae_int_t algorithmtype;
346 ae_int_t iterationscount;
348 ae_int_t terminationtype;
684 ae_int_t &iterationscount;
859 ae_int_t &iterationscount;
861 ae_int_t &terminationtype;
937void idwbuildmodifiedshepard(
const real_2d_array &xy,
const ae_int_t n,
const ae_int_t nx,
const ae_int_t d,
const ae_int_t nq,
const ae_int_t nw,
idwinterpolant &z);
1033void idwbuildnoisy(
const real_2d_array &xy,
const ae_int_t n,
const ae_int_t nx,
const ae_int_t d,
const ae_int_t nq,
const ae_int_t nw,
idwinterpolant &z);
1100void barycentricdiff2(
const barycentricinterpolant &b,
const double t,
double &f,
double &df,
double &d2f);
1348void spline1dgriddiffcubic(
const real_1d_array &x,
const real_1d_array &y,
const ae_int_t n,
const ae_int_t boundltype,
const double boundl,
const ae_int_t boundrtype,
const double boundr,
real_1d_array &d);
1555void spline1dconvdiffcubic(
const real_1d_array &x,
const real_1d_array &y,
const ae_int_t n,
const ae_int_t boundltype,
const double boundl,
const ae_int_t boundrtype,
const double boundr,
const real_1d_array &x2,
const ae_int_t n2,
real_1d_array &y2,
real_1d_array &d2);
1628void spline1dconvdiff2cubic(
const real_1d_array &x,
const real_1d_array &y,
const ae_int_t n,
const ae_int_t boundltype,
const double boundl,
const ae_int_t boundrtype,
const double boundr,
const real_1d_array &x2,
const ae_int_t n2,
real_1d_array &y2,
real_1d_array &d2,
real_1d_array &dd2);
1762void spline1ddiff(
const spline1dinterpolant &c,
const double x,
double &s,
double &ds,
double &d2s);
2049void pspline3calc(
const pspline3interpolant &p,
const double t,
double &x,
double &y,
double &z);
2102void pspline3tangent(
const pspline3interpolant &p,
const double t,
double &x,
double &y,
double &z);
2127void pspline2diff(
const pspline2interpolant &p,
const double t,
double &x,
double &dx,
double &y,
double &dy);
2154void pspline3diff(
const pspline3interpolant &p,
const double t,
double &x,
double &dx,
double &y,
double &dy,
double &z,
double &dz);
2181void pspline2diff2(
const pspline2interpolant &p,
const double t,
double &x,
double &dx,
double &d2x,
double &y,
double &dy,
double &d2y);
2211void pspline3diff2(
const pspline3interpolant &p,
const double t,
double &x,
double &dx,
double &d2x,
double &y,
double &dy,
double &d2y,
double &z,
double &dz,
double &d2z);
2332double spline3dcalc(
const spline3dinterpolant &c,
const double x,
const double y,
const double z);
2350void spline3dlintransxyz(
const spline3dinterpolant &c,
const double ax,
const double bx,
const double ay,
const double by,
const double az,
const double bz);
2404void spline3dresampletrilinear(
const real_1d_array &a,
const ae_int_t oldzcount,
const ae_int_t oldycount,
const ae_int_t oldxcount,
const ae_int_t newzcount,
const ae_int_t newycount,
const ae_int_t newxcount,
real_1d_array &b);
2787double polynomialcalceqdist(
const double a,
const double b,
const real_1d_array &f,
const ae_int_t n,
const double t);
2788double polynomialcalceqdist(
const double a,
const double b,
const real_1d_array &f,
const double t);
2817double polynomialcalccheb1(
const double a,
const double b,
const real_1d_array &f,
const ae_int_t n,
const double t);
2818double polynomialcalccheb1(
const double a,
const double b,
const real_1d_array &f,
const double t);
2847double polynomialcalccheb2(
const double a,
const double b,
const real_1d_array &f,
const ae_int_t n,
const double t);
2848double polynomialcalccheb2(
const double a,
const double b,
const real_1d_array &f,
const double t);
3117void polynomialfitwc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
barycentricinterpolant &p,
polynomialfitreport &rep);
3118void smp_polynomialfitwc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
barycentricinterpolant &p,
polynomialfitreport &rep);
3157double logisticcalc4(
const double x,
const double a,
const double b,
const double c,
const double d);
3195double logisticcalc5(
const double x,
const double a,
const double b,
const double c,
const double d,
const double g);
3375void logisticfit4ec(
const real_1d_array &x,
const real_1d_array &y,
const ae_int_t n,
const double cnstrleft,
const double cnstrright,
double &a,
double &b,
double &c,
double &d,
lsfitreport &rep);
3568void logisticfit5ec(
const real_1d_array &x,
const real_1d_array &y,
const ae_int_t n,
const double cnstrleft,
const double cnstrright,
double &a,
double &b,
double &c,
double &d,
double &g,
lsfitreport &rep);
3674void logisticfit45x(
const real_1d_array &x,
const real_1d_array &y,
const ae_int_t n,
const double cnstrleft,
const double cnstrright,
const bool is4pl,
const double lambdav,
const double epsx,
const ae_int_t rscnt,
double &a,
double &b,
double &c,
double &d,
double &g,
lsfitreport &rep);
3784void barycentricfitfloaterhormannwc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
barycentricinterpolant &b,
barycentricfitreport &rep);
3785void smp_barycentricfitfloaterhormannwc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
barycentricinterpolant &b,
barycentricfitreport &rep);
4157void spline1dfitcubicwc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
spline1dinterpolant &s,
spline1dfitreport &rep);
4158void smp_spline1dfitcubicwc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
spline1dinterpolant &s,
spline1dfitreport &rep);
4290void spline1dfithermitewc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
spline1dinterpolant &s,
spline1dfitreport &rep);
4291void smp_spline1dfithermitewc(
const real_1d_array &x,
const real_1d_array &y,
const real_1d_array &w,
const ae_int_t n,
const real_1d_array &xc,
const real_1d_array &yc,
const integer_1d_array &dc,
const ae_int_t k,
const ae_int_t m, ae_int_t &info,
spline1dinterpolant &s,
spline1dfitreport &rep);
5105void lsfitsetcond(
const lsfitstate &state,
const double epsx,
const ae_int_t maxits);
5129void lsfitsetstpmax(
const lsfitstate &state,
const double stpmax);
5146void lsfitsetxrep(
const lsfitstate &state,
const bool needxrep);
5320 void (*rep)(
const real_1d_array &c,
double func,
void *ptr) = NULL,
5325 void (*rep)(
const real_1d_array &c,
double func,
void *ptr) = NULL,
5331 void (*rep)(
const real_1d_array &c,
double func,
void *ptr) = NULL,
5460void lsfitsetgradientcheck(
const lsfitstate &state,
const double teststep);
5558void nsfitspheremzc(
const real_2d_array &xy,
const ae_int_t npoints,
const ae_int_t nx,
real_1d_array &cx,
double &rlo,
double &rhi);
5707void nsfitspherex(
const real_2d_array &xy,
const ae_int_t npoints,
const ae_int_t nx,
const ae_int_t problemtype,
const double epsx,
const ae_int_t aulits,
const double penalty,
real_1d_array &cx,
double &rlo,
double &rhi);
5744void spline2ddiff(
const spline2dinterpolant &c,
const double x,
const double y,
double &f,
double &fx,
double &fy,
double &fxy);
5760void spline2dlintransxy(
const spline2dinterpolant &c,
const double ax,
const double bx,
const double ay,
const double by);
5813void spline2dresamplebicubic(
const real_2d_array &a,
const ae_int_t oldheight,
const ae_int_t oldwidth,
real_2d_array &b,
const ae_int_t newheight,
const ae_int_t newwidth);
5835void spline2dresamplebilinear(
const real_2d_array &a,
const ae_int_t oldheight,
const ae_int_t oldwidth,
real_2d_array &b,
const ae_int_t newheight,
const ae_int_t newwidth);
6023void rbfserialize(
rbfmodel &obj, std::string &s_out);
6029void rbfunserialize(
const std::string &s_in,
rbfmodel &obj);
6045void rbfserialize(
rbfmodel &obj, std::ostream &s_out);
6051void rbfunserialize(
const std::istream &s_in,
rbfmodel &obj);
6124void rbfcreate(
const ae_int_t nx,
const ae_int_t ny,
rbfmodel &s);
6333void rbfsetalgoqnn(
const rbfmodel &s,
const double q,
const double z);
6334void rbfsetalgoqnn(
const rbfmodel &s);
6435void rbfsetalgomultilayer(
const rbfmodel &s,
const double rbase,
const ae_int_t nlayers,
const double lambdav);
6436void rbfsetalgomultilayer(
const rbfmodel &s,
const double rbase,
const ae_int_t nlayers);
6530void rbfsetalgohierarchical(
const rbfmodel &s,
const double rbase,
const ae_int_t nlayers,
const double lambdans);
6548void rbfsetlinterm(
const rbfmodel &s);
6566void rbfsetconstterm(
const rbfmodel &s);
6584void rbfsetzeroterm(
const rbfmodel &s);
6602void rbfsetv2bf(
const rbfmodel &s,
const ae_int_t bf);
6619void rbfsetv2its(
const rbfmodel &s,
const ae_int_t maxits);
6646void rbfsetv2supportr(
const rbfmodel &s,
const double r);
6730double rbfcalc1(
const rbfmodel &s,
const double x0);
6764double rbfcalc2(
const rbfmodel &s,
const double x0,
const double x1);
6799double rbfcalc3(
const rbfmodel &s,
const double x0,
const double x1,
const double x2);
7292ae_int_t rbfgetmodelversion(
const rbfmodel &s);
7300namespace alglib_impl
7302double idwcalc(idwinterpolant* z,
7305void idwbuildmodifiedshepard( ae_matrix* xy,
7313void idwbuildmodifiedshepardr( ae_matrix* xy,
7319void idwbuildnoisy( ae_matrix* xy,
7327void _idwinterpolant_init(
void* _p, ae_state *_state);
7328void _idwinterpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
7329void _idwinterpolant_clear(
void* _p);
7330void _idwinterpolant_destroy(
void* _p);
7331double barycentriccalc(barycentricinterpolant* b,
7334void barycentricdiff1(barycentricinterpolant* b,
7339void barycentricdiff2(barycentricinterpolant* b,
7345void barycentriclintransx(barycentricinterpolant* b,
7349void barycentriclintransy(barycentricinterpolant* b,
7353void barycentricunpack(barycentricinterpolant* b,
7359void barycentricbuildxyw( ae_vector* x,
7363 barycentricinterpolant* b,
7365void barycentricbuildfloaterhormann( ae_vector* x,
7369 barycentricinterpolant* b,
7371void barycentriccopy(barycentricinterpolant* b,
7372 barycentricinterpolant* b2,
7374void _barycentricinterpolant_init(
void* _p, ae_state *_state);
7375void _barycentricinterpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
7376void _barycentricinterpolant_clear(
void* _p);
7377void _barycentricinterpolant_destroy(
void* _p);
7378void spline1dbuildlinear( ae_vector* x,
7381 spline1dinterpolant* c,
7383void spline1dbuildcubic( ae_vector* x,
7386 ae_int_t boundltype,
7388 ae_int_t boundrtype,
7390 spline1dinterpolant* c,
7392void spline1dgriddiffcubic( ae_vector* x,
7395 ae_int_t boundltype,
7397 ae_int_t boundrtype,
7401void spline1dgriddiff2cubic( ae_vector* x,
7404 ae_int_t boundltype,
7406 ae_int_t boundrtype,
7411void spline1dconvcubic( ae_vector* x,
7414 ae_int_t boundltype,
7416 ae_int_t boundrtype,
7422void spline1dconvdiffcubic( ae_vector* x,
7425 ae_int_t boundltype,
7427 ae_int_t boundrtype,
7434void spline1dconvdiff2cubic( ae_vector* x,
7437 ae_int_t boundltype,
7439 ae_int_t boundrtype,
7447void spline1dbuildcatmullrom( ae_vector* x,
7452 spline1dinterpolant* c,
7454void spline1dbuildhermite( ae_vector* x,
7458 spline1dinterpolant* c,
7460void spline1dbuildakima( ae_vector* x,
7463 spline1dinterpolant* c,
7465double spline1dcalc(spline1dinterpolant* c,
double x, ae_state *_state);
7466void spline1ddiff(spline1dinterpolant* c,
7472void spline1dcopy(spline1dinterpolant* c,
7473 spline1dinterpolant* cc,
7475void spline1dunpack(spline1dinterpolant* c,
7479void spline1dlintransx(spline1dinterpolant* c,
7483void spline1dlintransy(spline1dinterpolant* c,
7487double spline1dintegrate(spline1dinterpolant* c,
7490void spline1dconvdiffinternal( ae_vector* xold,
7503void spline1drootsandextrema(spline1dinterpolant* c,
7512void heapsortdpoints( ae_vector* x,
7517void solvepolinom2(
double p0,
7525void solvecubicpolinom(
double pa,
7538 ae_vector* tempdata,
7540ae_int_t bisectmethod(
double pa,
7548void spline1dbuildmonotone( ae_vector* x,
7551 spline1dinterpolant* c,
7553void _spline1dinterpolant_init(
void* _p, ae_state *_state);
7554void _spline1dinterpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
7555void _spline1dinterpolant_clear(
void* _p);
7556void _spline1dinterpolant_destroy(
void* _p);
7557void pspline2build( ae_matrix* xy,
7561 pspline2interpolant* p,
7563void pspline3build( ae_matrix* xy,
7567 pspline3interpolant* p,
7569void pspline2buildperiodic( ae_matrix* xy,
7573 pspline2interpolant* p,
7575void pspline3buildperiodic( ae_matrix* xy,
7579 pspline3interpolant* p,
7581void pspline2parametervalues(pspline2interpolant* p,
7585void pspline3parametervalues(pspline3interpolant* p,
7589void pspline2calc(pspline2interpolant* p,
7594void pspline3calc(pspline3interpolant* p,
7600void pspline2tangent(pspline2interpolant* p,
7605void pspline3tangent(pspline3interpolant* p,
7611void pspline2diff(pspline2interpolant* p,
7618void pspline3diff(pspline3interpolant* p,
7627void pspline2diff2(pspline2interpolant* p,
7636void pspline3diff2(pspline3interpolant* p,
7648double pspline2arclength(pspline2interpolant* p,
7652double pspline3arclength(pspline3interpolant* p,
7656void parametricrdpfixed( ae_matrix* x,
7663 ae_int_t* nsections,
7665void _pspline2interpolant_init(
void* _p, ae_state *_state);
7666void _pspline2interpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
7667void _pspline2interpolant_clear(
void* _p);
7668void _pspline2interpolant_destroy(
void* _p);
7669void _pspline3interpolant_init(
void* _p, ae_state *_state);
7670void _pspline3interpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
7671void _pspline3interpolant_clear(
void* _p);
7672void _pspline3interpolant_destroy(
void* _p);
7673double spline3dcalc(spline3dinterpolant* c,
7678void spline3dlintransxyz(spline3dinterpolant* c,
7686void spline3dlintransf(spline3dinterpolant* c,
7690void spline3dcopy(spline3dinterpolant* c,
7691 spline3dinterpolant* cc,
7693void spline3dresampletrilinear( ae_vector* a,
7702void spline3dbuildtrilinearv( ae_vector* x,
7710 spline3dinterpolant* c,
7712void spline3dcalcvbuf(spline3dinterpolant* c,
7718void spline3dcalcv(spline3dinterpolant* c,
7724void spline3dunpackv(spline3dinterpolant* c,
7732void _spline3dinterpolant_init(
void* _p, ae_state *_state);
7733void _spline3dinterpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
7734void _spline3dinterpolant_clear(
void* _p);
7735void _spline3dinterpolant_destroy(
void* _p);
7736void polynomialbar2cheb(barycentricinterpolant* p,
7741void polynomialcheb2bar( ae_vector* t,
7745 barycentricinterpolant* p,
7747void polynomialbar2pow(barycentricinterpolant* p,
7752void polynomialpow2bar( ae_vector* a,
7756 barycentricinterpolant* p,
7758void polynomialbuild( ae_vector* x,
7761 barycentricinterpolant* p,
7763void polynomialbuildeqdist(
double a,
7767 barycentricinterpolant* p,
7769void polynomialbuildcheb1(
double a,
7773 barycentricinterpolant* p,
7775void polynomialbuildcheb2(
double a,
7779 barycentricinterpolant* p,
7781double polynomialcalceqdist(
double a,
7787double polynomialcalccheb1(
double a,
7793double polynomialcalccheb2(
double a,
7799void lstfitpiecewiselinearrdpfixed( ae_vector* x,
7805 ae_int_t* nsections,
7807void lstfitpiecewiselinearrdp( ae_vector* x,
7813 ae_int_t* nsections,
7815void polynomialfit( ae_vector* x,
7820 barycentricinterpolant* p,
7821 polynomialfitreport* rep,
7823void _pexec_polynomialfit( ae_vector* x,
7828 barycentricinterpolant* p,
7829 polynomialfitreport* rep, ae_state *_state);
7830void polynomialfitwc( ae_vector* x,
7840 barycentricinterpolant* p,
7841 polynomialfitreport* rep,
7843void _pexec_polynomialfitwc( ae_vector* x,
7853 barycentricinterpolant* p,
7854 polynomialfitreport* rep, ae_state *_state);
7855double logisticcalc4(
double x,
7861double logisticcalc5(
double x,
7868void logisticfit4( ae_vector* x,
7877void logisticfit4ec( ae_vector* x,
7888void logisticfit5( ae_vector* x,
7898void logisticfit5ec( ae_vector* x,
7910void logisticfit45x( ae_vector* x,
7926void barycentricfitfloaterhormannwc( ae_vector* x,
7936 barycentricinterpolant* b,
7937 barycentricfitreport* rep,
7939void _pexec_barycentricfitfloaterhormannwc( ae_vector* x,
7949 barycentricinterpolant* b,
7950 barycentricfitreport* rep, ae_state *_state);
7951void barycentricfitfloaterhormann( ae_vector* x,
7956 barycentricinterpolant* b,
7957 barycentricfitreport* rep,
7959void _pexec_barycentricfitfloaterhormann( ae_vector* x,
7964 barycentricinterpolant* b,
7965 barycentricfitreport* rep, ae_state *_state);
7966void spline1dfitpenalized( ae_vector* x,
7972 spline1dinterpolant* s,
7973 spline1dfitreport* rep,
7975void _pexec_spline1dfitpenalized( ae_vector* x,
7981 spline1dinterpolant* s,
7982 spline1dfitreport* rep, ae_state *_state);
7983void spline1dfitpenalizedw( ae_vector* x,
7990 spline1dinterpolant* s,
7991 spline1dfitreport* rep,
7993void _pexec_spline1dfitpenalizedw( ae_vector* x,
8000 spline1dinterpolant* s,
8001 spline1dfitreport* rep, ae_state *_state);
8002void spline1dfitcubicwc( ae_vector* x,
8012 spline1dinterpolant* s,
8013 spline1dfitreport* rep,
8015void _pexec_spline1dfitcubicwc( ae_vector* x,
8025 spline1dinterpolant* s,
8026 spline1dfitreport* rep, ae_state *_state);
8027void spline1dfithermitewc( ae_vector* x,
8037 spline1dinterpolant* s,
8038 spline1dfitreport* rep,
8040void _pexec_spline1dfithermitewc( ae_vector* x,
8050 spline1dinterpolant* s,
8051 spline1dfitreport* rep, ae_state *_state);
8052void spline1dfitcubic( ae_vector* x,
8057 spline1dinterpolant* s,
8058 spline1dfitreport* rep,
8060void _pexec_spline1dfitcubic( ae_vector* x,
8065 spline1dinterpolant* s,
8066 spline1dfitreport* rep, ae_state *_state);
8067void spline1dfithermite( ae_vector* x,
8072 spline1dinterpolant* s,
8073 spline1dfitreport* rep,
8075void _pexec_spline1dfithermite( ae_vector* x,
8080 spline1dinterpolant* s,
8081 spline1dfitreport* rep, ae_state *_state);
8082void lsfitlinearw( ae_vector* y,
8091void _pexec_lsfitlinearw( ae_vector* y,
8098 lsfitreport* rep, ae_state *_state);
8099void lsfitlinearwc( ae_vector* y,
8110void _pexec_lsfitlinearwc( ae_vector* y,
8119 lsfitreport* rep, ae_state *_state);
8120void lsfitlinear( ae_vector* y,
8128void _pexec_lsfitlinear( ae_vector* y,
8134 lsfitreport* rep, ae_state *_state);
8135void lsfitlinearc( ae_vector* y,
8145void _pexec_lsfitlinearc( ae_vector* y,
8153 lsfitreport* rep, ae_state *_state);
8154void lsfitcreatewf( ae_matrix* x,
8164void lsfitcreatef( ae_matrix* x,
8173void lsfitcreatewfg( ae_matrix* x,
8183void lsfitcreatefg( ae_matrix* x,
8192void lsfitcreatewfgh( ae_matrix* x,
8201void lsfitcreatefgh( ae_matrix* x,
8209void lsfitsetcond(lsfitstate* state,
8213void lsfitsetstpmax(lsfitstate* state,
double stpmax, ae_state *_state);
8214void lsfitsetxrep(lsfitstate* state, ae_bool needxrep, ae_state *_state);
8215void lsfitsetscale(lsfitstate* state,
8218void lsfitsetbc(lsfitstate* state,
8222void lsfitsetlc(lsfitstate* state,
8227ae_bool lsfititeration(lsfitstate* state, ae_state *_state);
8228void lsfitresults(lsfitstate* state,
8233void lsfitsetgradientcheck(lsfitstate* state,
8236void lsfitscalexy( ae_vector* x,
8248 ae_vector* xoriginal,
8249 ae_vector* yoriginal,
8251void _polynomialfitreport_init(
void* _p, ae_state *_state);
8252void _polynomialfitreport_init_copy(
void* _dst,
void* _src, ae_state *_state);
8253void _polynomialfitreport_clear(
void* _p);
8254void _polynomialfitreport_destroy(
void* _p);
8255void _barycentricfitreport_init(
void* _p, ae_state *_state);
8256void _barycentricfitreport_init_copy(
void* _dst,
void* _src, ae_state *_state);
8257void _barycentricfitreport_clear(
void* _p);
8258void _barycentricfitreport_destroy(
void* _p);
8259void _spline1dfitreport_init(
void* _p, ae_state *_state);
8260void _spline1dfitreport_init_copy(
void* _dst,
void* _src, ae_state *_state);
8261void _spline1dfitreport_clear(
void* _p);
8262void _spline1dfitreport_destroy(
void* _p);
8263void _lsfitreport_init(
void* _p, ae_state *_state);
8264void _lsfitreport_init_copy(
void* _dst,
void* _src, ae_state *_state);
8265void _lsfitreport_clear(
void* _p);
8266void _lsfitreport_destroy(
void* _p);
8267void _lsfitstate_init(
void* _p, ae_state *_state);
8268void _lsfitstate_init_copy(
void* _dst,
void* _src, ae_state *_state);
8269void _lsfitstate_clear(
void* _p);
8270void _lsfitstate_destroy(
void* _p);
8271void rbfv2create(ae_int_t nx,
8275void rbfv2createcalcbuffer(rbfv2model* s,
8276 rbfv2calcbuffer* buf,
8278void rbfv2buildhierarchical( ae_matrix* x,
8281 ae_vector* scalevec,
8286 ae_bool nonnegative,
8291void rbfv2alloc(ae_serializer* s, rbfv2model* model, ae_state *_state);
8292void rbfv2serialize(ae_serializer* s, rbfv2model* model, ae_state *_state);
8293void rbfv2unserialize(ae_serializer* s,
8296double rbfv2farradius(ae_int_t bf, ae_state *_state);
8297double rbfv2nearradius(ae_int_t bf, ae_state *_state);
8298double rbfv2basisfunc(ae_int_t bf,
double d2, ae_state *_state);
8299void rbfv2basisfuncdiff2(ae_int_t bf,
8305double rbfv2calc1(rbfv2model* s,
double x0, ae_state *_state);
8306double rbfv2calc2(rbfv2model* s,
double x0,
double x1, ae_state *_state);
8307double rbfv2calc3(rbfv2model* s,
8312void rbfv2calcbuf(rbfv2model* s,
8316void rbfv2tscalcbuf(rbfv2model* s,
8317 rbfv2calcbuffer* buf,
8321void rbfv2gridcalc2(rbfv2model* s,
8328void rbfv2gridcalcvx(rbfv2model* s,
8341void rbfv2partialgridcalcrec(rbfv2model* s,
8365 double avgfuncpernode,
8366 ae_shared_pool* bufpool,
8369void rbfv2unpack(rbfv2model* s,
8376void _rbfv2calcbuffer_init(
void* _p, ae_state *_state);
8377void _rbfv2calcbuffer_init_copy(
void* _dst,
void* _src, ae_state *_state);
8378void _rbfv2calcbuffer_clear(
void* _p);
8379void _rbfv2calcbuffer_destroy(
void* _p);
8380void _rbfv2model_init(
void* _p, ae_state *_state);
8381void _rbfv2model_init_copy(
void* _dst,
void* _src, ae_state *_state);
8382void _rbfv2model_clear(
void* _p);
8383void _rbfv2model_destroy(
void* _p);
8384void _rbfv2gridcalcbuffer_init(
void* _p, ae_state *_state);
8385void _rbfv2gridcalcbuffer_init_copy(
void* _dst,
void* _src, ae_state *_state);
8386void _rbfv2gridcalcbuffer_clear(
void* _p);
8387void _rbfv2gridcalcbuffer_destroy(
void* _p);
8388void _rbfv2report_init(
void* _p, ae_state *_state);
8389void _rbfv2report_init_copy(
void* _dst,
void* _src, ae_state *_state);
8390void _rbfv2report_clear(
void* _p);
8391void _rbfv2report_destroy(
void* _p);
8392void nsfitspheremcc( ae_matrix* xy,
8398void nsfitspheremic( ae_matrix* xy,
8404void nsfitspheremzc( ae_matrix* xy,
8411void nsfitspherex( ae_matrix* xy,
8414 ae_int_t problemtype,
8422void nsfitsphereinternal( ae_matrix* xy,
8425 ae_int_t problemtype,
8426 ae_int_t solvertype,
8433 nsfitinternalreport* rep,
8435void _nsfitinternalreport_init(
void* _p, ae_state *_state);
8436void _nsfitinternalreport_init_copy(
void* _dst,
void* _src, ae_state *_state);
8437void _nsfitinternalreport_clear(
void* _p);
8438void _nsfitinternalreport_destroy(
void* _p);
8439double spline2dcalc(spline2dinterpolant* c,
8443void spline2ddiff(spline2dinterpolant* c,
8451void spline2dlintransxy(spline2dinterpolant* c,
8457void spline2dlintransf(spline2dinterpolant* c,
8461void spline2dcopy(spline2dinterpolant* c,
8462 spline2dinterpolant* cc,
8464void spline2dresamplebicubic( ae_matrix* a,
8471void spline2dresamplebilinear( ae_matrix* a,
8478void spline2dbuildbilinearv( ae_vector* x,
8484 spline2dinterpolant* c,
8486void spline2dbuildbicubicv( ae_vector* x,
8492 spline2dinterpolant* c,
8494void spline2dcalcvbuf(spline2dinterpolant* c,
8499void spline2dcalcv(spline2dinterpolant* c,
8504void spline2dunpackv(spline2dinterpolant* c,
8510void spline2dbuildbilinear( ae_vector* x,
8515 spline2dinterpolant* c,
8517void spline2dbuildbicubic( ae_vector* x,
8522 spline2dinterpolant* c,
8524void spline2dunpack(spline2dinterpolant* c,
8529void _spline2dinterpolant_init(
void* _p, ae_state *_state);
8530void _spline2dinterpolant_init_copy(
void* _dst,
void* _src, ae_state *_state);
8531void _spline2dinterpolant_clear(
void* _p);
8532void _spline2dinterpolant_destroy(
void* _p);
8533void rbfv1create(ae_int_t nx,
8537void rbfv1createcalcbuffer(rbfv1model* s,
8538 rbfv1calcbuffer* buf,
8540void rbfv1buildmodel( ae_matrix* x,
8544 ae_int_t algorithmtype,
8555void rbfv1alloc(ae_serializer* s, rbfv1model* model, ae_state *_state);
8556void rbfv1serialize(ae_serializer* s, rbfv1model* model, ae_state *_state);
8557void rbfv1unserialize(ae_serializer* s,
8560double rbfv1calc2(rbfv1model* s,
double x0,
double x1, ae_state *_state);
8561double rbfv1calc3(rbfv1model* s,
8566void rbfv1calcbuf(rbfv1model* s,
8570void rbfv1tscalcbuf(rbfv1model* s,
8571 rbfv1calcbuffer* buf,
8575void rbfv1gridcalc2(rbfv1model* s,
8582void rbfv1gridcalc3vrec(rbfv1model* s,
8600 double searchradius,
8601 double avgfuncpernode,
8602 ae_shared_pool* bufpool,
8605void rbfv1unpack(rbfv1model* s,
8612void _rbfv1calcbuffer_init(
void* _p, ae_state *_state);
8613void _rbfv1calcbuffer_init_copy(
void* _dst,
void* _src, ae_state *_state);
8614void _rbfv1calcbuffer_clear(
void* _p);
8615void _rbfv1calcbuffer_destroy(
void* _p);
8616void _rbfv1model_init(
void* _p, ae_state *_state);
8617void _rbfv1model_init_copy(
void* _dst,
void* _src, ae_state *_state);
8618void _rbfv1model_clear(
void* _p);
8619void _rbfv1model_destroy(
void* _p);
8620void _gridcalc3v1buf_init(
void* _p, ae_state *_state);
8621void _gridcalc3v1buf_init_copy(
void* _dst,
void* _src, ae_state *_state);
8622void _gridcalc3v1buf_clear(
void* _p);
8623void _gridcalc3v1buf_destroy(
void* _p);
8624void _rbfv1report_init(
void* _p, ae_state *_state);
8625void _rbfv1report_init_copy(
void* _dst,
void* _src, ae_state *_state);
8626void _rbfv1report_clear(
void* _p);
8627void _rbfv1report_destroy(
void* _p);
8628void rbfcreate(ae_int_t nx, ae_int_t ny, rbfmodel* s, ae_state *_state);
8629void rbfcreatecalcbuffer(rbfmodel* s,
8632void rbfsetpoints(rbfmodel* s,
8636void rbfsetpointsandscales(rbfmodel* r,
8641void rbfsetalgoqnn(rbfmodel* s,
double q,
double z, ae_state *_state);
8642void rbfsetalgomultilayer(rbfmodel* s,
8647void rbfsetalgohierarchical(rbfmodel* s,
8652void rbfsetlinterm(rbfmodel* s, ae_state *_state);
8653void rbfsetconstterm(rbfmodel* s, ae_state *_state);
8654void rbfsetzeroterm(rbfmodel* s, ae_state *_state);
8655void rbfsetv2bf(rbfmodel* s, ae_int_t bf, ae_state *_state);
8656void rbfsetv2its(rbfmodel* s, ae_int_t maxits, ae_state *_state);
8657void rbfsetv2supportr(rbfmodel* s,
double r, ae_state *_state);
8658void rbfsetcond(rbfmodel* s,
8663void rbfbuildmodel(rbfmodel* s, rbfreport* rep, ae_state *_state);
8664double rbfcalc1(rbfmodel* s,
double x0, ae_state *_state);
8665double rbfcalc2(rbfmodel* s,
double x0,
double x1, ae_state *_state);
8666double rbfcalc3(rbfmodel* s,
8671void rbfcalc(rbfmodel* s,
8675void rbfcalcbuf(rbfmodel* s,
8679void rbftscalcbuf(rbfmodel* s,
8684void rbfgridcalc2(rbfmodel* s,
8691void rbfgridcalc2v(rbfmodel* s,
8698void _pexec_rbfgridcalc2v(rbfmodel* s,
8703 ae_vector* y, ae_state *_state);
8704void rbfgridcalc2vsubset(rbfmodel* s,
8712void _pexec_rbfgridcalc2vsubset(rbfmodel* s,
8718 ae_vector* y, ae_state *_state);
8719void rbfgridcalc3v(rbfmodel* s,
8728void _pexec_rbfgridcalc3v(rbfmodel* s,
8735 ae_vector* y, ae_state *_state);
8736void rbfgridcalc3vsubset(rbfmodel* s,
8746void _pexec_rbfgridcalc3vsubset(rbfmodel* s,
8754 ae_vector* y, ae_state *_state);
8755void rbfgridcalc2vx(rbfmodel* s,
8764void rbfgridcalc3vx(rbfmodel* s,
8775void rbfunpack(rbfmodel* s,
8781 ae_int_t* modelversion,
8783ae_int_t rbfgetmodelversion(rbfmodel* s, ae_state *_state);
8784void rbfalloc(ae_serializer* s, rbfmodel* model, ae_state *_state);
8785void rbfserialize(ae_serializer* s, rbfmodel* model, ae_state *_state);
8786void rbfunserialize(ae_serializer* s, rbfmodel* model, ae_state *_state);
8787void _rbfcalcbuffer_init(
void* _p, ae_state *_state);
8788void _rbfcalcbuffer_init_copy(
void* _dst,
void* _src, ae_state *_state);
8789void _rbfcalcbuffer_clear(
void* _p);
8790void _rbfcalcbuffer_destroy(
void* _p);
8791void _rbfmodel_init(
void* _p, ae_state *_state);
8792void _rbfmodel_init_copy(
void* _dst,
void* _src, ae_state *_state);
8793void _rbfmodel_clear(
void* _p);
8794void _rbfmodel_destroy(
void* _p);
8795void _rbfreport_init(
void* _p, ae_state *_state);
8796void _rbfreport_init_copy(
void* _dst,
void* _src, ae_state *_state);
8797void _rbfreport_clear(
void* _p);
8798void _rbfreport_destroy(
void* _p);