Typedefs | |
typedef enum IndexTSSubsetErrorStatus_e | IndexTSSubsetErrorStatus |
Enumerations | |
enum | IndexTSSubsetErrorStatus_e { INDEX_TSSUBSET_ERROR_UNDEFINED, INDEX_TSSUBSET_ERROR_NO_DATA, INDEX_TSSUBSET_ERROR_DESCENDING, INDEX_TSSUBSET_ERROR_START_GT_DATA_END, INDEX_TSSUBSET_ERROR_END_LT_DATA_START, INDEX_TSSUBSET_ERROR_START_UNDEFINED, INDEX_TSSUBSET_ERROR_END_UNDEFINED, INDEX_TSSUBSET_ERROR_RETURN, INDEX_TSSUBSET_OK } |
Functions | |
int | nle_bisection (double xsearch, double x[], int nx) |
IndexTSSubsetErrorStatus | IndexTSSubset (double tstart, double tend, double *in_tags, int ndata, int *istart_p, int *iend_p, char *out_message) |
Variables | |
static const char * | IndexTSSubsetErrorMessage [9] |
typedef enum IndexTSSubsetErrorStatus_e IndexTSSubsetErrorStatus |
IndexTSSubsetErrorStatus IndexTSSubset | ( | double | tstart, | |
double | tend, | |||
double * | in_tags, | |||
int | ndata, | |||
int * | istart_p, | |||
int * | iend_p, | |||
char * | out_message | |||
) |
int nle_bisection | ( | double | xsearch, | |
double | x[], | |||
int | nx | |||
) |
const char* IndexTSSubsetErrorMessage[9] [static] |
Initial value:
{ "IndexTSSubset>> Error zero undefined\n", "IndexTSSubset>> Error - no data points in requested interval\n", "IndexTSSubset>> Error - input Time Series in descending order\n", "IndexTSSubset>> Error - requested start beyond data end time\n", "IndexTSSubset>> Error - requested end before data start time\n", "IndexTSSubset>> Error - unrecognised negative index for start time\n", "IndexTSSubset>> Error - unrecognised negative index for end time\n", "IndexTSSubset>> Error - unknown error\n", "IndexTSSubset>> Success\n"}