File: spline.h

package info (click to toggle)
mothur 1.24.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,868 kB
  • sloc: cpp: 110,948; ansic: 2,037; fortran: 665; makefile: 74; sh: 59
file content (38 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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