⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qwt_math.h.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "qwt_math.h" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEqwt_math.h \- .SH "Detailed Description".PP A set of mathematical routines. .PPDefinition in file \fBqwt_math.h\fP..SH SYNOPSIS.br.PP.SS "Defines".in +1c.ti -1c.RI "#define \fBLOG10_2\fP   0.30102999566398119802".br.ti -1c.RI "#define \fBLOG10_3\fP   0.47712125471966243540".br.ti -1c.RI "#define \fBLOG10_5\fP   0.69897000433601885749".br.ti -1c.RI "#define \fBM_2PI\fP   6.28318530717958623200".br.ti -1c.RI "#define \fBLOG_MIN\fP   1.0e-100".br.ti -1c.RI "#define \fBLOG_MAX\fP   1.0e100".br.ti -1c.RI "#define \fBM_E\fP   2.7182818284590452354".br.ti -1c.RI "#define \fBM_LOG2E\fP   1.4426950408889634074".br.ti -1c.RI "#define \fBM_LN2\fP   0.69314718055994530942".br.ti -1c.RI "#define \fBM_LN10\fP   2.30258509299404568402".br.ti -1c.RI "#define \fBM_PI\fP   3.14159265358979323846".br.ti -1c.RI "#define \fBM_PI_2\fP   1.57079632679489661923".br.ti -1c.RI "#define \fBM_PI_4\fP   0.78539816339744830962".br.ti -1c.RI "#define \fBM_1_PI\fP   0.31830988618379067154".br.ti -1c.RI "#define \fBM_2_PI\fP   0.63661977236758134308".br.ti -1c.RI "#define \fBM_2_SQRTPI\fP   1.12837916709551257390".br.ti -1c.RI "#define \fBM_SQRT2\fP   1.41421356237309504880".br.ti -1c.RI "#define \fBM_SQRT1_2\fP   0.70710678118654752440".br.ti -1c.RI "#define \fBqwtMax\fP   QMAX".br.ti -1c.RI "#define \fBqwtMin\fP   QMIN".br.ti -1c.RI "#define \fBqwtAbs\fP   QABS".br.ti -1c.RI "#define \fBqwtInt\fP   qRound".br.in -1c.SS "Functions".in +1c.ti -1c.RI "QWT_EXPORT double \fBqwtCeil125\fP (double x)".br.ti -1c.RI "QWT_EXPORT double \fBqwtFloor125\fP (double x)".br.ti -1c.RI "QWT_EXPORT double \fBqwtGetMin\fP (double *array, int size)".br.ti -1c.RI "QWT_EXPORT double \fBqwtGetMax\fP (double *array, int size)".br.ti -1c.RI "QWT_EXPORT void \fBqwtTwistArray\fP (double *array, int size)".br.ti -1c.RI "QWT_EXPORT int \fBqwtChkMono\fP (double *array, int size)".br.ti -1c.RI "QWT_EXPORT void \fBqwtLinSpace\fP (double *array, int size, double xmin, double xmax)".br.ti -1c.RI "QWT_EXPORT void \fBqwtLogSpace\fP (double *array, int size, double xmin, double xmax)".br.ti -1c.RI "template<class T> int \fBqwtSign\fP (const T &x)".br.ti -1c.RI "template<class T> T \fBqwtSqr\fP (const T &x)".br.ti -1c.RI "template<class T> void \fBqwtCopyArray\fP (T *dest, T *src, int n)".br.ti -1c.RI "template<class T> void \fBqwtShiftArray\fP (T *arr, int size, int di)".br.ti -1c.RI "template<class T> void \fBqwtSwap\fP (T &x1, T &x2)".br.ti -1c.RI "template<class T> void \fBqwtSort\fP (const T &x1, const T &x2, T &xmin, T &xmax)".br.ti -1c.RI "template<class T> void \fBqwtSort\fP (T &x1, T &x2)".br.ti -1c.RI "template<class T> T \fBqwtLim\fP (const T &x, const T &x1, const T &x2)".br.ti -1c.RI "QPoint \fBqwtPolar2Pos\fP (const QPoint &center, double radius, double angle)".br.ti -1c.RI "QPoint \fBqwtDegree2Pos\fP (const QPoint &center, double radius, double angle)".br.in -1c.SH "Define Documentation".PP .SS "#define LOG_MAX   1.0e100".PPMaximum value for logarithmic scales. .PPDefinition at line 46 of file qwt_math.h..PPReferenced by QwtAutoScale::setRange(), and QwtAutoScale::setReference()..SS "#define LOG_MIN   1.0e-100".PPMininum value for logarithmic scales. .PPDefinition at line 41 of file qwt_math.h..PPReferenced by QwtAutoScale::setRange(), and QwtAutoScale::setReference()..SH "Function Documentation".PP .SS "QWT_EXPORT double qwtCeil125 (double x)".PPFind the smallest value out of {1,2,5}*10^n with an integer number n which is greater than or equal to x. .PP\fBParameters:\fP.RS 4\fIx\fP Input value .RE.PPDefinition at line 56 of file qwt_math.cpp..SS "QWT_EXPORT int qwtChkMono (double * array, int size)".PPChecks if an array is a strictly monotonic sequence. .PP\fBParameters:\fP.RS 4\fIarray\fP Pointer to an array .br\fIsize\fP Size of the array .RE.PP\fBReturns:\fP.RS 4.IP "\fB0\fP" 1csequence is not strictly monotonic .IP "\fB1\fP" 1csequence is strictly monotonically increasing .IP "\fB-1\fP" 1csequence is strictly monotonically decreasing .PP.RE.PPDefinition at line 119 of file qwt_math.cpp..SS "template<class T> void qwtCopyArray (T * dest, T * src, int n)".PPCopy an array into another. .PP\fBParameters:\fP.RS 4\fIdest\fP Destination .br\fIsrc\fP Source .br\fIn\fP Number of elements .RE.PPDefinition at line 142 of file qwt_math.h..PPReferenced by qwtShiftArray()..SS "QWT_EXPORT double qwtFloor125 (double x)".PPFind the largest value out of {1,2,5}*10^n with an integer number n which is smaller than or equal to x. .PP\fBParameters:\fP.RS 4\fIx\fP Input value .RE.PPDefinition at line 85 of file qwt_math.cpp..SS "QWT_EXPORT double qwtGetMax (double * array, int size)".PPFind the largest value in an array. .PP\fBParameters:\fP.RS 4\fIarray\fP Pointer to an array .br\fIsize\fP Array size .RE.PPDefinition at line 37 of file qwt_math.cpp..SS "QWT_EXPORT double qwtGetMin (double * array, int size)".PPFind the smallest value in an array. .PP\fBParameters:\fP.RS 4\fIarray\fP Pointer to an array .br\fIsize\fP Array size .RE.PPDefinition at line 19 of file qwt_math.cpp..SS "template<class T> T qwtLim (const T & x, const T & x1, const T & x2)".PPLimit a value to fit into a specified interval. .PP\fBParameters:\fP.RS 4\fIx\fP Input value .br\fIx1\fP First interval boundary .br\fIx2\fP Second interval boundary .RE.PPDefinition at line 245 of file qwt_math.h..PPReferenced by QwtArrowButton::QwtArrowButton(), QwtScaleDraw::setAngleRange(), QwtDblRange::setRange(), QwtWheel::setTickCnt(), QwtWheel::setTotalAngle(), QwtWheel::setViewAngle(), and QwtCurve::verifyRange()..SS "QWT_EXPORT void qwtLinSpace (double * array, int size, double xmin, double xmax)".PPCreate an array of equally spaced values. .PP\fBParameters:\fP.RS 4\fIarray\fP Where to put the values .br\fIsize\fP Size of the array .br\fIxmin\fP Value associated with index 0 .br\fIxmax\fP Value associated with index (size-1) .RE.PPDefinition at line 161 of file qwt_math.cpp..SS "QWT_EXPORT void qwtLogSpace (double * array, int size, double xmin, double xmax)".PPCreate an array of logarithmically equally spaced values. .PP\fBParameters:\fP.RS 4\fIarray\fP Where to put the values .br\fIsize\fP Size of the array .br\fIxmin\fP Value associated with index 0 .br\fIxmax\fP Value associated with index (size-1) .RE.PPDefinition at line 189 of file qwt_math.cpp..SS "template<class T> void qwtShiftArray (T * arr, int size, int di)".PPShift an array by a specified number of positions. .PP\fBParameters:\fP.RS 4\fIarr\fP Pointer to an array .br\fIsize\fP Number of elements .br\fIdi\fP Number of positions. A positive number shifts right, a negative number shifts left. .RE.PPDefinition at line 157 of file qwt_math.h..PPReferences qwtCopyArray()..SS "template<class T> int qwtSign (const T & x)".PPReturn the sign. .PPDefinition at line 118 of file qwt_math.h..SS "template<class T> void qwtSort (T & x1, T & x2)".PPSort two values in ascending order. .PPDefinition at line 226 of file qwt_math.h..PPReferenced by QwtCurve::verifyRange()..SS "template<class T> void qwtSort (const T & x1, const T & x2, T & xmin, T & xmax)".PPSort two values in ascending order. .PP\fBParameters:\fP.RS 4\fIx1\fP First input value .br\fIx2\fP Second input value .br\fIxmax\fP Greater value .br\fIxmin\fP Smaller value .RE.PPDefinition at line 207 of file qwt_math.h..SS "template<class T> T qwtSqr (const T & x)".PPReturn the square of a number. .PPDefinition at line 130 of file qwt_math.h..PPReferenced by QwtPlot::closestCurve(), QwtPlot::closestMarker(), and QwtCurve::drawSpline()..SS "template<class T> void qwtSwap (T & x1, T & x2)".PPSwap two values. .PPDefinition at line 190 of file qwt_math.h..SS "QWT_EXPORT void qwtTwistArray (double * array, int size)".PPInvert the order of array elements. .PP\fBParameters:\fP.RS 4\fIarray\fP Pointer to an array .br\fIsize\fP Size of the array .RE.PPDefinition at line 141 of file qwt_math.cpp..SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -