|
char * | XLALUnitAsString (char *string, UINT4 length, const LALUnit *input) |
| Returns the pointer to the input string , which is populated with the unit string if successful. More...
|
|
char * | XLALUnitToString (const LALUnit *input) |
| Allocates and returns a new string, which is populated with the unit string. More...
|
|
LALUnit * | XLALParseUnitString (LALUnit *output, const char *string) |
| Returns the pointer output upon return or a pointer to newly allocated memory if output was NULL ; on failure, XLALParseUnitString() returns NULL and sets xlalErrno to one of the following values: XLAL_ENOMEM if the routine was unable to allocate memory for the output or XLAL_EFAILED if the routine was unable to parse the unit string. More...
|
|
int | XLALUnitNormalize (LALUnit *unit) |
| Returns 0 upon success or XLAL_FAILURE if the input pointer is NULL , in which case xlalErrno is set to XLAL_EFAULT. 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...
|
|
LALUnit * | XLALUnitMultiply (LALUnit *output, const LALUnit *unit1, const LALUnit *unit2) |
| This function multiplies together the LALUnit structures *(input->unitOne) and *(input->unitTwo) , thus allowing a module to eg, multiply two REAL8TimeSeries and give the resulting REAL8TimeSeries the correct units. More...
|
|
LALUnit * | XLALUnitDivide (LALUnit *output, const LALUnit *unit1, const LALUnit *unit2) |
| UNDOCUMENTED. More...
|
|
LALUnit * | XLALUnitRaiseRAT4 (LALUnit *output, const LALUnit *input, const RAT4 *power) |
| Raises a LALUnit structure to a rational power given by the RAT4 structure power . More...
|
|
LALUnit * | XLALUnitRaiseINT2 (LALUnit *output, const LALUnit *input, INT2 power) |
| Raises a LALUnit structure to an integer power power . More...
|
|
LALUnit * | XLALUnitSquare (LALUnit *output, const LALUnit *input) |
| Produces the square of a LALUnit structure. More...
|
|
LALUnit * | XLALUnitSqrt (LALUnit *output, const LALUnit *input) |
| Produces the square-root of a LALUnit structure. More...
|
|
LALUnit * | XLALUnitInvert (LALUnit *output, const LALUnit *input) |
| UNDOCUMENTED. More...
|
|
REAL8 | XLALUnitPrefactor (const LALUnit *unit) |
| Return the unit's prefactor. More...
|
|
int | XLALUnitIsDimensionless (const LALUnit *unit) |
| Return 1 if a unit is dimensionless, 0 otherwise. More...
|
|
REAL8 | XLALUnitRatio (const LALUnit *unit1, const LALUnit *unit2) |
| Return the ratio unit1 / unit2. More...
|
|