Changeset 34584 for trunk/Ohana/src/opihi/include/data.h
- Timestamp:
- Oct 25, 2012, 10:26:16 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/data.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/data.h
r31636 r34584 84 84 85 85 /* in spline.c */ 86 void spline_construct (float *x, float *y, int N, float *y2); 87 float spline_apply (float *x, float *y, float *y2, int N, float X); 86 void spline_construct_flt (float *x, float *y, int N, float *y2); 87 float spline_apply_flt (float *x, float *y, float *y2, int N, float X); 88 void spline_construct_dbl (opihi_flt *x, opihi_flt *y, int N, opihi_flt *y2); 89 opihi_flt spline_apply_dbl (opihi_flt *x, opihi_flt *y, opihi_flt *y2, int N, opihi_flt X); 88 90 89 91 /* in svdcmp.c */ … … 168 170 void FreeQueues (void); 169 171 void FreeBooks (void); 172 173 // the interpolating spline has valu 174 typedef struct { 175 int Nknots; 176 opihi_flt *xk; 177 opihi_flt *yk; 178 opihi_flt *y2; 179 char *name; 180 } Spline; 181 182 /* in SplineOps.c */ 183 void InitSplines (); 184 void FreeSplines (); 185 void InitSpline (Spline *spline, char *name, int Nknots); 186 void FreeSpline (Spline *spline); 187 Spline *GetSpline (int where); 188 Spline *FindSpline (char *name); 189 Spline *CreateSpline (char *name, int Nknots); 190 int DeleteSpline (Spline *spline); 191 void ListSplines (); 192 int SaveSpline (char *filename, char *name, int append); 193 int LoadSpline (char *filename, char *name); 170 194 171 195 /* hermitian functions */
Note:
See TracChangeset
for help on using the changeset viewer.
