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