SignNoZero[val]
gives the sign of the val, where the sign of val > 0 is 1 and val < 0 is -1.
Related Guides
QMRITools`
QMRITools`
SignNoZero
SignNoZero[val]
gives the sign of the val, where the sign of val > 0 is 1 and val < 0 is -1.