fitter.h 353 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#pragma once

#include "function.h"
#include "data.h"

/*
 * Fitting interface for generic fitting algorithms
 *
 */
10
class fitter
11 12 13 14 15 16 17
{
	public:
		
		// Static function to fit a data set d with the
		// underling function class. Return the best
		// fit (along with fitting information ?)
		//
18
		virtual bool fit_data(const data* d, function* f) = 0 ;
19 20

} ;