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