X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=spline.h;fp=spline.h;h=94a0c645aacc6b4137e8582bbfd8b78c7ed66fae;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/spline.h b/spline.h new file mode 100644 index 0000000..94a0c64 --- /dev/null +++ b/spline.h @@ -0,0 +1,38 @@ +#ifndef SPLINE +#define SPLINE + + +/* + * spline.h + * Mothur + * + * Created by westcott on 12/6/11. + * Copyright 2011 Schloss Lab. All rights reserved. + * + */ + +//This class was translated into c++ using c and fortran code from www.koders.com as a reference. + +#include "mothurout.h" + +class Spline { + + public: + Spline() { m = MothurOut::getInstance(); } + ~Spline() {} + + int sbart(double *penalt, double *dofoff, + double *xs, double *ys, double *ws, double *ssw, + int *n, double *knot, int *nk, double *coef, + double *sz, double *lev, double *crit, int *icrit, + double *spar, int *ispar, int *iter, double *lspar, + double *uspar, double *tol, double *eps, int *isetup, + int *ld4, int *ldnk, int *ier); + + private: + MothurOut* m; +}; + +#endif + +