DIPlib Documentation - ©1995-2008 Quantitative Imaging Group, Delft University of Technology.

mSign

mathematical function

SYNOPSIS

#include "dip_math.h"

dip_float dipm_Sign ( x )

FUNCTION

Computes the sign of the input value. The sign of zero is defined as zero.

ARGUMENTS

Data typeNameDescription
dip_floatxInput value

SEE ALSO

mTruncate, mFraction, mNearestInt, mExp2, mExp10, mLog2, mSinc, mReciprocal, mBesselJ0, mBesselJ1, mBesselJN, mBesselY0, mBesselY1, mBesselYN, mLnGamma, mErf, mErfc, mGammaP, mGammaQ

DIPlib on-line documentation | Function reference | Global function index