LAL  7.5.0.1-8460f35
UnitCompare.c File Reference

Prototypes

int XLALUnitIsDimensionless (const LALUnit *unit)
 Return 1 if a unit is dimensionless, 0 otherwise. More...
 
REAL8 XLALUnitPrefactor (const LALUnit *unit)
 Return the unit's prefactor. More...
 
REAL8 XLALUnitRatio (const LALUnit *unit1, const LALUnit *unit2)
 Return the ratio unit1 / unit2. More...
 
int XLALUnitCompare (const LALUnit *unit1, const LALUnit *unit2)
 Returns 0 if the the normal form of the two unit structures are the same or > 0 if they are different. More...
 

Go to the source code of this file.