~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.0/doc/man/man3/QwtScaleArithmetic.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "QwtScaleArithmetic" 3 "1 May 2008" "Version 5.1.0" "Qwt User's Guide" \" -*- nroff -*-
2
 
.ad l
3
 
.nh
4
 
.SH NAME
5
 
QwtScaleArithmetic \- 
6
 
.SH SYNOPSIS
7
 
.br
8
 
.PP
9
 
.SH "Detailed Description"
10
 
.PP 
11
 
Arithmetic including a tolerance. 
12
 
.PP
13
 
Definition at line 22 of file qwt_scale_engine.h.
14
 
.SS "Static Public Member Functions"
15
 
 
16
 
.in +1c
17
 
.ti -1c
18
 
.RI "static int \fBcompareEps\fP (double value1, double value2, double intervalSize)"
19
 
.br
20
 
.ti -1c
21
 
.RI "static double \fBceilEps\fP (double value, double intervalSize)"
22
 
.br
23
 
.ti -1c
24
 
.RI "static double \fBfloorEps\fP (double value, double intervalSize)"
25
 
.br
26
 
.ti -1c
27
 
.RI "static double \fBdivideEps\fP (double interval, double steps)"
28
 
.br
29
 
.ti -1c
30
 
.RI "static double \fBceil125\fP (double x)"
31
 
.br
32
 
.ti -1c
33
 
.RI "static double \fBfloor125\fP (double x)"
34
 
.br
35
 
.in -1c
36
 
.SH "Member Function Documentation"
37
 
.PP 
38
 
.SS "int QwtScaleArithmetic::compareEps (double value1, double value2, double intervalSize)\fC [static]\fP"
39
 
.PP
40
 
Compare 2 values, relative to an interval. 
41
 
.PP
42
 
Values are 'equal', when : $\cdot value2 - value1 <= abs(intervalSize * 10e^{-6})$
43
 
.PP
44
 
\fBParameters:\fP
45
 
.RS 4
46
 
\fIvalue1\fP First value to compare 
47
 
.br
48
 
\fIvalue2\fP Second value to compare 
49
 
.br
50
 
\fIintervalSize\fP interval size
51
 
.RE
52
 
.PP
53
 
\fBReturns:\fP
54
 
.RS 4
55
 
0: if equal, -1: if value2 > value1, 1: if value1 > value2 
56
 
.RE
57
 
.PP
58
 
 
59
 
.PP
60
 
Definition at line 29 of file qwt_scale_engine.cpp.
61
 
.PP
62
 
Referenced by QwtScaleEngine::contains().
63
 
.SS "double QwtScaleArithmetic::ceilEps (double value, double intervalSize)\fC [static]\fP"
64
 
.PP
65
 
Ceil a value, relative to an interval
66
 
.PP
67
 
\fBParameters:\fP
68
 
.RS 4
69
 
\fIvalue\fP Value to ceil 
70
 
.br
71
 
\fIintervalSize\fP Interval size
72
 
.RE
73
 
.PP
74
 
\fBSee also:\fP
75
 
.RS 4
76
 
\fBfloorEps\fP 
77
 
.RE
78
 
.PP
79
 
 
80
 
.PP
81
 
Definition at line 51 of file qwt_scale_engine.cpp.
82
 
.PP
83
 
Referenced by QwtLinearScaleEngine::align().
84
 
.SS "double QwtScaleArithmetic::floorEps (double value, double intervalSize)\fC [static]\fP"
85
 
.PP
86
 
Floor a value, relative to an interval
87
 
.PP
88
 
\fBParameters:\fP
89
 
.RS 4
90
 
\fIvalue\fP Value to floor 
91
 
.br
92
 
\fIintervalSize\fP Interval size
93
 
.RE
94
 
.PP
95
 
\fBSee also:\fP
96
 
.RS 4
97
 
\fBfloorEps\fP 
98
 
.RE
99
 
.PP
100
 
 
101
 
.PP
102
 
Definition at line 68 of file qwt_scale_engine.cpp.
103
 
.PP
104
 
Referenced by QwtLinearScaleEngine::align().
105
 
.SS "double QwtScaleArithmetic::ceil125 (double x)\fC [static]\fP"
106
 
.PP
107
 
Find the smallest value out of {1,2,5}*10^n with an integer number n which is greater than or equal to x
108
 
.PP
109
 
\fBParameters:\fP
110
 
.RS 4
111
 
\fIx\fP Input value 
112
 
.RE
113
 
.PP
114
 
 
115
 
.PP
116
 
Definition at line 99 of file qwt_scale_engine.cpp.
117
 
.PP
118
 
Referenced by QwtScaleEngine::divideInterval().
119
 
.SS "double QwtScaleArithmetic::floor125 (double x)\fC [static]\fP"
120
 
.PP
121
 
Find the largest value out of {1,2,5}*10^n with an integer number n which is smaller than or equal to x. 
122
 
.PP
123
 
\fBParameters:\fP
124
 
.RS 4
125
 
\fIx\fP Input value 
126
 
.RE
127
 
.PP
128
 
 
129
 
.PP
130
 
Definition at line 127 of file qwt_scale_engine.cpp.
131
 
 
132
 
.SH "Author"
133
 
.PP 
134
 
Generated automatically by Doxygen for Qwt User's Guide from the source code.