comparison xtract/libxtract.h @ 215:44401945d850

Add xtract_peak() determines whether the 'current' value is a peak
author Jamie Bullock <jamie@jamiebullock.com>
date Tue, 03 Jun 2014 21:17:51 +0100
parents f6fcf3bec020
children 8c768f32a6a8
comparison
equal deleted inserted replaced
214:f28f66faa016 215:44401945d850
170 enum xtract_return_codes_ { 170 enum xtract_return_codes_ {
171 XTRACT_SUCCESS, 171 XTRACT_SUCCESS,
172 XTRACT_MALLOC_FAILED, 172 XTRACT_MALLOC_FAILED,
173 XTRACT_BAD_ARGV, 173 XTRACT_BAD_ARGV,
174 XTRACT_BAD_VECTOR_SIZE, 174 XTRACT_BAD_VECTOR_SIZE,
175 XTRACT_BAD_STATE,
175 XTRACT_DENORMAL_FOUND, 176 XTRACT_DENORMAL_FOUND,
176 XTRACT_NO_RESULT, /* This usually occurs when the correct calculation cannot take place because required data is missing or would result in a NaN or infinity/-infinity. Under these curcumstances 0.f is usually given by *result */ 177 XTRACT_NO_RESULT, /* This usually occurs when the correct calculation cannot take place because required data is missing or would result in a NaN or infinity/-infinity. Under these curcumstances 0.f is usually given by *result */
177 XTRACT_FEATURE_NOT_IMPLEMENTED, 178 XTRACT_FEATURE_NOT_IMPLEMENTED,
178 XTRACT_ARGUMENT_ERROR 179 XTRACT_ARGUMENT_ERROR
179 }; 180 };