//
//  EXPSpline.h
//  Spline-Test
//
//  Created by ashley on 04/06/2008.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface EXPSpline : NSObject {
	int _n;
	double *_b;
	double *_c;
	double *_d;
	double *_x;
	double *_y;
	double _xmin;
	double _xmax;
	int _last;
	NSString *_interpType;
	BOOL _isRegular;
}

-(BOOL)setPoints:(NSString *)interpType nPoints:(int)n xPoints:(double *)x yPoints:(double *)y;
-(BOOL)setPoints:(NSString *)interpType nPoints:(int)n xMin:(double)xMin xMax:(double)xMax yPoints:(double *)y;
-(double)evaluate:(double)u primes:(int)nPrimes;

-(NSString *)interpType;
- (BOOL)isRegular;

@end