Go to the source code of this file.
Macros | |
#define | LOG_MAX 1.0e100 |
Maximum value for logarithmic scales. More... | |
#define | LOG_MIN 1.0e-100 |
Minimum value for logarithmic scales. More... | |
#define | M_PI_2 (1.57079632679489661923) |
Functions | |
double | qwtCubicPolynom (double x, double a, double b, double c, double d) |
double | qwtDegrees (double degrees) |
Translate radians into degrees. More... | |
double | qwtFastAtan (double x) |
Approximation of arc tangent ( error below 0,005 radians ) More... | |
double | qwtFastAtan2 (double y, double x) |
Approximation of arc tangent ( error below 0,005 radians ) More... | |
int | qwtFuzzyCompare (double value1, double value2, double intervalSize) |
Compare 2 values, relative to an interval. More... | |
QWT_EXPORT double | qwtGetMax (const double *array, int size) |
Find the largest value in an array. More... | |
QWT_EXPORT double | qwtGetMin (const double *array, int size) |
Find the smallest value in an array. More... | |
QWT_EXPORT double | qwtNormalizeDegrees (double degrees) |
Normalize an angle to be int the range [0.0, 360.0[. More... | |
QWT_EXPORT double | qwtNormalizeRadians (double radians) |
Normalize an angle to be int the range [0.0, 2 * PI[. More... | |
double | qwtRadians (double degrees) |
Translate degrees into radians. More... | |
int | qwtSign (double x) |
Return the sign. More... | |
double | qwtSqr (double x) |
Return the square of a number. More... | |
#define LOG_MAX 1.0e100 |
Maximum value for logarithmic scales.
Definition at line 42 of file qwt_math.h.
#define LOG_MIN 1.0e-100 |
Minimum value for logarithmic scales.
Definition at line 37 of file qwt_math.h.
#define M_PI_2 (1.57079632679489661923) |
Definition at line 32 of file qwt_math.h.
|
inline |
Definition at line 137 of file qwt_math.h.
|
inline |
Translate radians into degrees.
Definition at line 150 of file qwt_math.h.
|
inline |
Approximation of arc tangent ( error below 0,005 radians )
Definition at line 94 of file qwt_math.h.
|
inline |
Approximation of arc tangent ( error below 0,005 radians )
Definition at line 106 of file qwt_math.h.
|
inline |
Compare 2 values, relative to an interval.
Values are "equal", when :
value1 | First value to compare |
value2 | Second value to compare |
intervalSize | interval size |
Definition at line 63 of file qwt_math.h.
QWT_EXPORT double qwtGetMax | ( | const double * | array, |
int | size | ||
) |
Find the largest value in an array.
array | Pointer to an array |
size | Array size |
Definition at line 35 of file qwt_math.cpp.
QWT_EXPORT double qwtGetMin | ( | const double * | array, |
int | size | ||
) |
Find the smallest value in an array.
array | Pointer to an array |
size | Array size |
Definition at line 17 of file qwt_math.cpp.
QWT_EXPORT double qwtNormalizeDegrees | ( | double | degrees | ) |
Normalize an angle to be int the range [0.0, 360.0[.
radians | Angle in degrees |
Definition at line 67 of file qwt_math.cpp.
QWT_EXPORT double qwtNormalizeRadians | ( | double | radians | ) |
Normalize an angle to be int the range [0.0, 2 * PI[.
radians | Angle in radians |
Definition at line 52 of file qwt_math.cpp.
|
inline |
Translate degrees into radians.
Definition at line 144 of file qwt_math.h.
|
inline |
Return the sign.
Definition at line 77 of file qwt_math.h.
|
inline |
Return the square of a number.
Definition at line 88 of file qwt_math.h.