6 #ifndef ptwX_h_included
7 #define ptwX_h_included
14 #if defined __cplusplus
19 #define ptwX_minimumSize 10
82 #if defined __cplusplus
void ptwX_simplePrint(ptwXPoints const *ptwX, char const *format)
nfu_status ptwX_xMinMax(ptwXPoints *ptwX, double *xMin, double *xMax)
nfu_status ptwX_closesDifferenceInRange(ptwXPoints *ptwX, int64_t i1, int64_t i2, double value, int64_t *index, double *difference)
double ptwX_getPointAtIndex_Unsafely(ptwXPoints *ptwX, int64_t index)
nfu_status ptwX_countOccurrences(ptwXPoints *ptwX, double value, int *count)
ptwXPoints * ptwX_createLine(int64_t size, int64_t length, double slope, double offset, nfu_status *status)
ptwXPoints * ptwX_fromString(char const *str, char **endCharacter, nfu_status *status)
nfu_status ptwX_setData(ptwXPoints *ptwX, int64_t length, double const *xs)
ptwXPoints * ptwX_unique(ptwXPoints *ptwX, int order, nfu_status *status)
nfu_status ptwX_insertPointsAtIndex(ptwXPoints *ptwX, int64_t index, int64_t n1, double const *xs)
nfu_status ptwX_add_ptwX(ptwXPoints *ptwX1, ptwXPoints *ptwX2)
ptwXPoints * ptwX_slice(ptwXPoints *ptwX, int64_t index1, int64_t index2, nfu_status *status)
nfu_status ptwX_copy(ptwXPoints *dest, ptwXPoints *src)
nfu_status ptwX_neg(ptwXPoints *ptwX)
ptwXPoints * ptwX_new(int64_t size, nfu_status *status)
nfu_status ptwX_compare(ptwXPoints *ptwX1, ptwXPoints *ptwX2, int *comparison)
nfu_status ptwX_clear(ptwXPoints *ptwX)
int ptwX_ascendingOrder(ptwXPoints *ptwX)
const XML_Char int const XML_Char * value
ptwXPoints * ptwX_create(int64_t size, int64_t length, double const *xs, nfu_status *status)
struct ptwXPoints_s ptwXPoints
ptwXPoints * ptwX_free(ptwXPoints *ptwX)
enum nfu_status_e nfu_status
ptwXPoints * ptwX_clone(ptwXPoints *ptwX, nfu_status *status)
nfu_status ptwX_reverse(ptwXPoints *ptwX)
nfu_status ptwX_sort(ptwXPoints *ptwX, enum ptwX_sort_order order)
int ptwX_close(ptwXPoints *ptwX1, ptwXPoints *ptwX2, int epsilonFactor, double epsilon, nfu_status *status)
nfu_status ptwX_sub_ptwX(ptwXPoints *ptwX1, ptwXPoints *ptwX2)
nfu_status ptwX_setup(ptwXPoints *ptwX, int64_t size)
int64_t ptwX_length(ptwXPoints *ptwX)
nfu_status ptwX_mul_double(ptwXPoints *ptwX, double value)
nfu_status ptwX_setPointAtIndex(ptwXPoints *ptwX, int64_t index, double x)
void ptwX_simpleWrite(ptwXPoints const *ptwX, FILE *f, char const *format)
nfu_status ptwX_release(ptwXPoints *ptwX)
nfu_status ptwX_add_double(ptwXPoints *ptwX, double value)
double * ptwX_getPointAtIndex(ptwXPoints *ptwX, int64_t index)
nfu_status ptwX_abs(ptwXPoints *ptwX)
nfu_status ptwX_slopeOffset(ptwXPoints *ptwX, double slope, double offset)
nfu_status ptwX_closesDifference(ptwXPoints *ptwX, double value, int64_t *index, double *difference)
double epsilon(double density, double temperature)
nfu_status ptwX_reallocatePoints(ptwXPoints *ptwX, int64_t size, int forceSmallerResize)
nfu_status ptwX_deletePoints(ptwXPoints *ptwX, int64_t i1, int64_t i2)