Functions
qwt_math.h File Reference
#include "qwt_global.h"
#include <qmath.h>
Include dependency graph for qwt_math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double qwtCubicPolynom (double x, double a, double b, double c, double d)
double qwtDegrees (double degrees)
 Translate radians into degrees.
double qwtFastAtan (double x)
 Approximation of arc tangent ( error below 0,005 radians )
double qwtFastAtan2 (double y, double x)
 Approximation of arc tangent ( error below 0,005 radians )
int qwtFuzzyCompare (double value1, double value2, double intervalSize)
 Compare 2 values, relative to an interval.
QWT_EXPORT double qwtGetMax (const double *array, int size)
 Find the largest value in an array.
QWT_EXPORT double qwtGetMin (const double *array, int size)
 Find the smallest value in an array.
QWT_EXPORT double qwtNormalizeDegrees (double degrees)
 Normalize an angle to be int the range [0.0, 360.0[.
QWT_EXPORT double qwtNormalizeRadians (double radians)
 Normalize an angle to be int the range [0.0, 2 * PI[.
double qwtRadians (double degrees)
 Translate degrees into radians.
int qwtSign (double x)
 Return the sign.
double qwtSqr (double x)
 Return the square of a number.

Function Documentation

double qwtCubicPolynom ( double  x,
double  a,
double  b,
double  c,
double  d 
) [inline]

Definition at line 137 of file qwt_math.h.

double qwtDegrees ( double  degrees) [inline]

Translate radians into degrees.

Definition at line 150 of file qwt_math.h.

double qwtFastAtan ( double  x) [inline]

Approximation of arc tangent ( error below 0,005 radians )

Definition at line 94 of file qwt_math.h.

double qwtFastAtan2 ( double  y,
double  x 
) [inline]

Approximation of arc tangent ( error below 0,005 radians )

Definition at line 106 of file qwt_math.h.

int qwtFuzzyCompare ( double  value1,
double  value2,
double  intervalSize 
) [inline]

Compare 2 values, relative to an interval.

Values are "equal", when : $\cdot value2 - value1 <= abs(intervalSize * 10e^{-6})$

Parameters:
value1First value to compare
value2Second value to compare
intervalSizeinterval size
Returns:
0: if equal, -1: if value2 > value1, 1: if value1 > value2

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.

Parameters:
arrayPointer to an array
sizeArray 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.

Parameters:
arrayPointer to an array
sizeArray 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[.

Parameters:
radiansAngle in degrees
Returns:
Normalized 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[.

Parameters:
radiansAngle in radians
Returns:
Normalized angle in radians

Definition at line 52 of file qwt_math.cpp.

double qwtRadians ( double  degrees) [inline]

Translate degrees into radians.

Definition at line 144 of file qwt_math.h.

int qwtSign ( double  x) [inline]

Return the sign.

Definition at line 77 of file qwt_math.h.

double qwtSqr ( double  x) [inline]

Return the square of a number.

Definition at line 88 of file qwt_math.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:57