Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
ts.h File Reference
Go to the source code of this file.
Define Documentation
#define ADDTO_TSARR |
( |
name, |
|
|
tsname |
|
) |
|
|
|
Value: do{ int nn ; \
if( (name)->num == (name)->nall ){ \
(name)->nall += INC_TSARR ; nn = sizeof(time_series *) * (name)->nall ; \
(name)->tsarr = ((name)->tsarr == NULL) ? (time_series **)malloc(nn) \
: (time_series **)realloc((name)->tsarr,nn); \
if( name->tsarr == NULL ){ \
fprintf(stderr,"ADDTO_TSARR malloc fails at line %d in file %s\n", \
__LINE__,__FILE__) ; exit(1) ; \
} } \
nn = (name)->num ; (name)->tsarr[nn] = (tsname) ; (name)->num++ ; break ; } while(0)
Definition at line 30 of file ts.h.
Referenced by get_line_opt(). |
#define DESTROY_TSARR |
( |
name |
|
) |
|
|
|
Value:
Definition at line 42 of file ts.h.
Referenced by main(). |
|
Definition at line 23 of file ts.h. |
#define INIT_TSARR |
( |
name |
|
) |
|
|
#define MALLOC_ERR |
( |
str |
|
) |
{ fprintf(stderr,"MALLOC error: %s\n",str); exit(-1); }
|
|
#define MAX |
( |
x, |
|
|
y |
|
) |
(((x)>(y)) ? (x) : (y))
|
|
|
Definition at line 64 of file ts.h. |
#define MIN |
( |
x, |
|
|
y |
|
) |
(((x)<(y)) ? (x) : (y))
|
|
|
Definition at line 60 of file ts.h. |
Function Documentation
void RWC_free_time_series |
( |
|
) |
|
|
void RWC_medfilt_time_series |
( |
|
) |
|
|