|
HRVKit
HRV Analysis for iOS
|
00001 // 00002 // Spline.h 00003 // 00004 // Created by Alex Shaykevich on 14/03/12. 00005 // Copyright (c) 2012 YOM. All rights reserved. 00006 // 00007 00008 #import <Foundation/Foundation.h> 00009 00010 @interface Spline : NSObject { 00011 int n, last_interval; 00012 double* x; 00013 double* f; 00014 double* b; 00015 double* c; 00016 double* d; 00017 00018 BOOL uniform, debug; 00019 } 00020 00021 -(id)init:(double*) xx :(int)nLength :(double*) ff :(int)fLength; 00022 -(double)spline_value:(double)t; 00023 -(double)integrate; 00024 00025 @end
1.8.0