#include <cmath>
#include <OpenMS/CONCEPT/Types.h>
Go to the source code of this file.
Namespaces | |
namespace | OpenMS |
namespace | OpenMS::Math |
Defines | |
#define | isnan(x) |
#define | isinf(x) |
Functions | |
static int | isnan_f (float x) |
static int | isnan_d (double x) |
static int | isnan_ld (long double x) |
static int | isinf_f (float x) |
static int | isinf_d (double x) |
static int | isinf_ld (long double x) |
static double | ceil_decimal (double x, int decPow) |
rounds x up to the next decimal power 10 ^ decPow | |
static double | round_decimal (double x, int decPow) |
rounds x to the next decimal power 10 ^ decPow | |
static double | intervalTransformation (double x, double left1, double right1, double left2, double right2) |
transforms point x of interval [left1,right1] into interval [left2,right2] | |
double | linear2log (double x) |
Transforms a number from linear to log10 scale. Avoids negative logarithms by adding 1. | |
double | log2linear (double x) |
Transforms a number from log10 to to linear scale. Subtracts the 1 added by linear2log(double). | |
bool | isOdd (UInt x) |
Returns true if the given interger is odd. |
#define isinf | ( | x | ) |
#define isnan | ( | x | ) |
static int isinf_d | ( | double | x | ) | [inline, static] |
static int isinf_f | ( | float | x | ) | [inline, static] |
static int isinf_ld | ( | long double | x | ) | [inline, static] |
static int isnan_d | ( | double | x | ) | [inline, static] |
static int isnan_f | ( | float | x | ) | [inline, static] |
static int isnan_ld | ( | long double | x | ) | [inline, static] |
Generated Tue Apr 1 15:36:39 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |