QwtScaleArithmetic(3)
Hey bestie π this is QwtScaleArithmetic(3), straight outta the Library Functions Manual, and itβs here to make tolerance arithmetic make sense. No cap.
πΈ NAME πΈ
QwtScaleArithmetic - Arithmetic including a tolerance. Periodt. β¨
π SYNOPSIS π
#include <qwt_scale_engine.h>
π¦ Static Public Member Functions π¦
static double ceilEps (double value, double intervalSize)β static public member function vibes.static double floorEps (double value, double intervalSize)β static public member function vibes.static double divideEps (double intervalSize, double numSteps)β Divide an interval into steps.static double divideInterval (double intervalSize, int numSteps, uint base)β static public member function vibes.
π Detailed Description π
Arithmetic including a tolerance. Thatβs the whole concept, and honestly? Iconic. π
Definition at line 22 of file qwt_scale_engine.h.
π Member Function Documentation π
π double QwtScaleArithmetic::ceilEps (double value, double intervalSize) π
[static]
Ceil a value, relative to an interval.
Parameters:
valueβ Value to be ceiledintervalSizeβ Interval size
Returns: Rounded value
See also: floorEps()
Definition at line 108 of file qwt_scale_engine.cpp.
π double QwtScaleArithmetic::divideEps (double intervalSize, double numSteps) π
[static]
Divide an interval into steps. The formula is literally:
$stepSize = (intervalSize - intervalSize
* 10e^{-6}) / numSteps$
Parameters:
intervalSizeβ Interval sizenumStepsβ Number of steps
Returns: Step size
Definition at line 143 of file qwt_scale_engine.cpp.
π double QwtScaleArithmetic::divideInterval (double intervalSize, int numSteps, uint base) π
[static]
Calculate a step size for a given interval.
Parameters:
intervalSizeβ Interval sizenumStepsβ Number of stepsbaseβ Base for the division ( usually 10 )
Returns: Calculated step size
Definition at line 160 of file qwt_scale_engine.cpp.
π double QwtScaleArithmetic::floorEps (double value, double intervalSize) π
[static]
Floor a value, relative to an interval.
Parameters:
valueβ Value to be flooredintervalSizeβ Interval size
Returns: Rounded value
See also: floorEps() β yes, same name, preserved exactly π
Definition at line 126 of file qwt_scale_engine.cpp.
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Thatβs the whole page, bestie π«Ά. Source/version energy is Qwt Userβs Guide, manual page ID is QwtScaleArithmetic(3), and the footer has no date β so no fake date here. Slay and bye π
β¨
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms