Geant4-11
|
Go to the source code of this file.
nfu_status ptwXY_add_double | ( | ptwXYPoints * | ptwXY, |
double | value | ||
) |
Definition at line 40 of file ptwXY_binaryOperators.cc.
References ptwXY_slopeOffset().
Referenced by MCGIDI_angularEnergy_parsePointwiseFromTOM(), MCGIDI_energyAngular_linear_parseFromTOM(), and MCGIDI_LLNL_angularEnergy_parsePointwiseFromTOM().
ptwXYPoints * ptwXY_add_ptwXY | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status | ||
) |
Definition at line 138 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::length, ptwXY_binary_ptwXY(), and ptwXY_clone().
Referenced by MCGIDI_target_heated_read(), and ptwXY_unitbaseInterpolate().
ptwXYPoints * ptwXY_binary_ptwXY | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
double | v1, | ||
double | v2, | ||
double | v1v2, | ||
nfu_status * | status | ||
) |
Definition at line 108 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::interpolation, CLHEP::detail::n, nfu_invalidInterpolation, nfu_Okay, nfu_otherInterpolation, ptwXY_areDomainsMutual(), ptwXY_free(), ptwXY_getValueAtX_ignore_XOutsideDomainError(), ptwXY_interpolationFlat, ptwXY_interpolationOther, ptwXY_union(), ptwXY_union_fill, ptwXY_union_mergeClosePoints, ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_add_ptwXY(), ptwXY_mul_ptwXY(), and ptwXY_sub_ptwXY().
nfu_status ptwXY_div_doubleFrom | ( | ptwXYPoints * | ptwXY, |
double | value | ||
) |
Definition at line 44 of file ptwXY_binaryOperators.cc.
References nfu_divByZero, ptwXY_slopeOffset(), and ptwXYPoints_s::status.
nfu_status ptwXY_div_fromDouble | ( | ptwXYPoints * | ptwXY, |
double | value | ||
) |
Definition at line 53 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::interpolation, ptwXYOverflowPoint_s::next, nfu_divByZero, nfu_Okay, nfu_otherInterpolation, ptwXYPoints_s::overflowHeader, ptwXYOverflowPoint_s::point, ptwXYPoints_s::points, ptwXY_getNonOverflowLength(), ptwXY_interpolationOther, ptwXYPoints_s::status, and ptwXYPoint_s::y.
ptwXYPoints * ptwXY_div_ptwXY | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status, | ||
int | safeDivide | ||
) |
Definition at line 288 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::interpolation, CLHEP::detail::n, nfu_divByZero, nfu_getNAN(), nfu_isNAN(), nfu_Okay, nfu_otherInterpolation, nfu_XOutsideDomain, ptwXY_areDomainsMutual(), ptwXY_div_ptwXY_forFlats(), ptwXY_div_s_ptwXY(), ptwXY_free(), ptwXY_getSlopeAtX(), ptwXY_getValueAtX(), ptwXY_getValueAtX_ignore_XOutsideDomainError(), ptwXY_interpolationFlat, ptwXY_interpolationOther, ptwXY_setValueAtX(), ptwXY_simpleCoalescePoints(), ptwXY_union(), ptwXY_union_fill, ptwXY_union_mergeClosePoints, ptwXY_update_biSectionMax(), ptwXYPoint_s::x, and ptwXYPoint_s::y.
|
static |
Definition at line 480 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::interpolation, CLHEP::detail::n, nfu_divByZero, nfu_invalidInterpolation, nfu_Okay, ptwXY_free(), ptwXY_getValueAtX_ignore_XOutsideDomainError(), ptwXY_interpolationFlat, ptwXY_union(), ptwXY_union_fill, ptwXY_union_mergeClosePoints, ptwXYPoint_s::x, and ptwXYPoint_s::y.
Referenced by ptwXY_div_ptwXY().
|
static |
Definition at line 432 of file ptwXY_binaryOperators.cc.
References ClosestAllowXFactor, DBL_EPSILON, CLHEP::detail::n, nfu_Okay, ptwXY_div_s_ptwXY(), ptwXY_getValueAtX(), ptwXY_getValueAtX_ignore_XOutsideDomainError(), and ptwXY_setValueAtX().
Referenced by ptwXY_div_ptwXY(), and ptwXY_div_s_ptwXY().
|
static |
Definition at line 512 of file ptwXY_binaryOperators.cc.
References nfu_Okay, nfu_XOutsideDomain, and ptwXY_getValueAtX().
Referenced by ptwXY_binary_ptwXY(), ptwXY_div_ptwXY(), ptwXY_div_ptwXY_forFlats(), ptwXY_div_s_ptwXY(), ptwXY_mul2_ptwXY(), and ptwXY_mul2_s_ptwXY().
nfu_status ptwXY_mod | ( | ptwXYPoints * | ptwXY, |
double | m, | ||
int | pythonMod | ||
) |
Definition at line 76 of file ptwXY_binaryOperators.cc.
References m, ptwXYOverflowPoint_s::next, nfu_divByZero, nfu_Okay, ptwXYPoints_s::overflowHeader, ptwXYOverflowPoint_s::point, ptwXYPoints_s::points, ptwXY_getNonOverflowLength(), ptwXY_mod2(), ptwXYPoints_s::status, and ptwXYPoint_s::y.
|
static |
Definition at line 92 of file ptwXY_binaryOperators.cc.
References m.
Referenced by ptwXY_mod().
ptwXYPoints * ptwXY_mul2_ptwXY | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status | ||
) |
Definition at line 187 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::interpolation, CLHEP::detail::n, nfu_Okay, nfu_otherInterpolation, ptwXY_free(), ptwXY_getValueAtX_ignore_XOutsideDomainError(), ptwXY_interpolationFlat, ptwXY_interpolationOther, ptwXY_mul2_s_ptwXY(), ptwXY_mul_ptwXY(), ptwXY_setValueAtX(), ptwXY_simpleCoalescePoints(), and ptwXY_update_biSectionMax().
|
static |
Definition at line 251 of file ptwXY_binaryOperators.cc.
References ClosestAllowXFactor, DBL_EPSILON, CLHEP::detail::n, nfu_Okay, ptwXY_getValueAtX_ignore_XOutsideDomainError(), ptwXY_mul2_s_ptwXY(), and ptwXY_setValueAtX().
Referenced by ptwXY_mul2_ptwXY(), and ptwXY_mul2_s_ptwXY().
nfu_status ptwXY_mul_double | ( | ptwXYPoints * | ptwXY, |
double | value | ||
) |
ptwXYPoints * ptwXY_mul_ptwXY | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status | ||
) |
Definition at line 171 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::length, ptwXY_binary_ptwXY(), and ptwXY_clone().
Referenced by ptwXY_mul2_ptwXY().
nfu_status ptwXY_slopeOffset | ( | ptwXYPoints * | ptwXY, |
double | slope, | ||
double | offset | ||
) |
Definition at line 25 of file ptwXY_binaryOperators.cc.
References ptwXYOverflowPoint_s::next, nfu_Okay, ptwXYPoints_s::overflowHeader, ptwXYOverflowPoint_s::point, ptwXYPoints_s::points, ptwXY_getNonOverflowLength(), ptwXYPoints_s::status, and ptwXYPoint_s::y.
Referenced by ptwXY_add_double(), ptwXY_div_doubleFrom(), ptwXY_mul_double(), ptwXY_sub_doubleFrom(), and ptwXY_sub_fromDouble().
nfu_status ptwXY_sub_doubleFrom | ( | ptwXYPoints * | ptwXY, |
double | value | ||
) |
nfu_status ptwXY_sub_fromDouble | ( | ptwXYPoints * | ptwXY, |
double | value | ||
) |
ptwXYPoints * ptwXY_sub_ptwXY | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status | ||
) |
Definition at line 154 of file ptwXY_binaryOperators.cc.
References ptwXYPoints_s::length, nfu_Okay, ptwXY_binary_ptwXY(), ptwXY_clone(), ptwXY_free(), and ptwXY_neg().